This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [patch:] iconv/gconv_simple.c: Correct buffer in/out empty/full test order.
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Subject: Re: [patch:] iconv/gconv_simple.c: Correct buffer in/out empty/full test order.
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 08 Apr 2001 20:57:19 -0700
- Cc: libc-alpha at sources dot redhat dot com
- References: <200104090122.DAA12459@ignucius.axis.se>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------