Small fix for Linux __opensock
Ulrich Drepper
drepper@redhat.com
Thu Feb 14 18:15:00 GMT 2002
Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de> writes:
> Current glibc has failed "make check" for me when run on Linux-2.2.x;
> test_ifindex reported that it couldn't get any interfaces (everything
> is fine on Linux-2.4). The reason is that ioctl(fd, SIOCGIFCONF...)
> fails on 2.2.x for all AF_UNIX sockets. So I would suggest that we
> prefer AF_INET in __opensock() just like we did in glibc-2.2.
There is a good reason for the current order but I cannot remember
right now. I'll have to think more about it.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-alpha
mailing list