2002-07-24  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/opensock.c (__opensock): Prefer inet
	sockets on old kernels.
This commit is contained in:
Ulrich Drepper 2002-07-24 11:51:16 +00:00
parent 7a9a26813e
commit be45f42153
3 changed files with 24 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-07-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/opensock.c (__opensock): Prefer inet
sockets on old kernels.
2002-07-22 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/errlist.c: Remove extra weak alias

12
NEWS
View File

@ -1,4 +1,4 @@
GNU C Library NEWS -- history of user-visible changes. 2002-2-26
GNU C Library NEWS -- history of user-visible changes. 2002-7-24
Copyright (C) 1992-2000, 2001, 2002 Free Software Foundation, Inc.
See the end for copying conditions.
@ -31,6 +31,16 @@ Version 2.3
* Bruno Haible upgraded the iconv and locale implementation to support
Unicode 3.2.
* Content of The LC_* and LANG environments in the CEN style is not recognized
anymore. It never was used. Change by Ulrich Drepper.
* The runtime (ld.so, libc, libpthread for Linux) now can handle the TLS
ABI on some platforms. Changes by Ulrich Drepper.
SH support by Kaz Kojima.
* Bruno Haible contributed iconv converters for ISO-2022-JP-3, SHIFT JIS-X0213,
and EUC-JISX0213.
Version 2.2.5

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1999, 2001 Free Software Foundation, Inc.
/* Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -36,8 +36,15 @@ __opensock (void)
const char procname[15];
} afs[] =
{
/* The 2.2 kernels cannot handle ioctl(SIOCGIFCONF) on AF_UNIX sockets.
Give the kernel a chance to user inet sockets on old kernels. */
#if __LINUX_KERNEL_VERSION < 132096
{ AF_INET, "" },
{ AF_UNIX, "net/unix" },
#else
{ AF_UNIX, "net/unix" },
{ AF_INET, "" },
#endif
{ AF_INET6, "net/if_inet6" },
{ AF_AX25, "net/ax25" },
{ AF_NETROM, "net/nr" },