[patch:] iconv/gconv_simple.c: Correct buffer in/out empty/full test order.

Ulrich Drepper drepper@redhat.com
Sun Apr 8 20:57:00 GMT 2001


Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:

> Before I noticed and defined _STRING_ARCH_unaligned (not documented it
> seems) in the CRIS port, this code caused tst-iconv1 to fail during
> execution.  When comparing the corresponding piece of code in the
> neighboring functions, it seems like the order is wrong.

I don't know why this doesn't show up as a problem on other
architectures not defining _STRING_ARCH_unaligned but the patch is
clearly correct.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-alpha mailing list