byte order in rep_inet_ntoa()

2002-11-15 Thread Stefan (metze) Metzmacher
Hi, I add #define REPLACE_INET_NTOA 1 to config.h and in the debug's I got '7.5.0.10' not not '10.0.5.7 as ip. WORDS_BIGENDIAN is undefined (SuSE 7.3 i386) is this really right??? (lib/replace.c) ... #ifdef REPLACE_INET_NTOA char *rep_inet_ntoa(struct in_addr ip) { unsigned char *p =

Re: byte order in rep_inet_ntoa()

2002-11-15 Thread Andrew Bartlett
On Sat, 2002-11-16 at 02:38, Stefan (metze) Metzmacher wrote: Hi, I add #define REPLACE_INET_NTOA 1 to config.h and in the debug's I got '7.5.0.10' not not '10.0.5.7 as ip. WORDS_BIGENDIAN is undefined (SuSE 7.3 i386) is this really right??? (lib/replace.c) ... #ifdef