bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Typo in glibc-2.2.5/iconv/gconv_simple.c


From: Artur Zaprzala
Subject: Typo in glibc-2.2.5/iconv/gconv_simple.c
Date: Mon, 25 Mar 2002 13:41:11 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020310

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!


Artur Zaprzala






reply via email to

[Prev in Thread] Current Thread [Next in Thread]