This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why this strange change?


> 
> Ulrich> User code must only test for != 0.
> 
> This might break X11 since /usr/include/X11/Xos_r.h has:
> #  define _XGethostbyname(h,hp) \
>   (bzero((char*)&(hp).hdata,sizeof((hp).hdata)),        \
>    ((gethostbyname_r((h),&(hp).hent,&(hp).hdata) == -1) ? NULL : &(hp).hent))
> 

That means we may have to recompile every X program. It is an ABI
change. If we have to go for it, which I don't like, we should
use a new version for every getxxxbyxxx_r ().

If I have my way, I will change or ignore POSIX on this one.


H.J.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]