[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Typo in glibc-2.2.5/iconv/gconv_simple.c
From: |
Andreas Jaeger |
Subject: |
Re: Typo in glibc-2.2.5/iconv/gconv_simple.c |
Date: |
Mon, 25 Mar 2002 13:52:35 +0100 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Artificial Intelligence, i386-suse-linux) |
Artur Zaprzala <address@hidden> writes:
> While browsing the iconv sources I noticed the following code
> (glibc-2.2.5/iconv/gconv_simple.c, line 727):
>
> #if __BYTE_ORDER == __BIG_ENDIAN
> (*outptrp)[0] = state->__value.__wchb[3];
> (*outptrp)[1] = state->__value.__wchb[2];
> (*outptrp)[2] = state->__value.__wchb[1];
> (*outptrp)[3] = state->__value.__wchb[0];
> #elif __BYTE_ORDER == __BIG_ENDIAN
> (*outptrp)[0] = state->__value.__wchb[0];
> (*outptrp)[1] = state->__value.__wchb[1];
> (*outptrp)[2] = state->__value.__wchb[2];
> (*outptrp)[3] = state->__value.__wchb[3];
> #endif
>
>
> #elif and #if use the same condition!
I've fixed this now,
Thanks,
Andreas
--
Andreas Jaeger
SuSE Labs address@hidden
private address@hidden
http://www.suse.de/~aj