Endianness check: (was: Bad packet length in 2.5.1 with rijndael)

Gregory Steuck greg at nest.cx
Wed Feb 28 12:07:47 EST 2001


autoconf's  AC_C_BIGENDIAN ? Works for jikes AFAIK.

>>>>> "Ishikawa" == Ishikawa  <ishikawa at yk.rim.or.jp> writes:

    Ishikawa> (Now I recall I had an issue with a very old libc on linux
    Ishikawa> (circa 1996) in that it defined LITTLE_ENDIAN and
    Ishikawa> BIG_ENDIAN macro in ctype.h of all the header files(!) and
    Ishikawa> this uncalled-for name space pollution collided with a
    Ishikawa> user program, namely crack 4-1. :-) Anyway, setting the
    Ishikawa> value using a small program seems to me a non-protruding
    Ishikawa> solution and is a very reliable one IMHO.)





More information about the openssh-unix-dev mailing list