This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Small fix for Linux __opensock


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   `------------------------


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