diff options
author | Roland McGrath <roland@gnu.org> | 2002-11-26 03:29:06 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-11-26 03:29:06 +0000 |
commit | 6938e63f714b15c377d8cbf8e97b6f15b0e1b692 (patch) | |
tree | 953d8b439443cb9e73dd8021709ddefc06786aea /ChangeLog | |
parent | 14fa7a214c1ad32997db99c6560d7f93ceb254aa (diff) | |
download | glibc-6938e63f714b15c377d8cbf8e97b6f15b0e1b692.tar.gz glibc-6938e63f714b15c377d8cbf8e97b6f15b0e1b692.tar.xz glibc-6938e63f714b15c377d8cbf8e97b6f15b0e1b692.zip |
* inet/test-ifaddrs.c (main: addr_string): Handle null SA.
Grok AF_LINK if defined. From Momchil Velikov <velco@fadata.bg>. * sysdeps/gnu/ifaddrs.c (getifaddrs): If ioctl fails for netmask, brdaddr, or dstaddr, just set those pointers to null and don't fail. Reported by Momchil Velikov <velco@fadata.bg>. * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: If sa_len is > sizeof IFR->ifa_addr, advance past the whole longer length. (__ifreq): Count up NIFS that way too. Reported by Momchil Velikov <velco@fadata.bg>. * sysdeps/mach/hurd/lchmod.c: Include <fcntl.h>.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index be335e49ff..d95decf6d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,21 @@ 2002-11-25 Roland McGrath <roland@redhat.com> + * inet/test-ifaddrs.c (main: addr_string): Handle null SA. + Grok AF_LINK if defined. + From Momchil Velikov <velco@fadata.bg>. + + * sysdeps/gnu/ifaddrs.c (getifaddrs): If ioctl fails for netmask, + brdaddr, or dstaddr, just set those pointers to null and don't fail. + Reported by Momchil Velikov <velco@fadata.bg>. + + * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: If sa_len + is > sizeof IFR->ifa_addr, advance past the whole longer length. + (__ifreq): Count up NIFS that way too. + Reported by Momchil Velikov <velco@fadata.bg>. + + * sysdeps/mach/hurd/lchmod.c: Include <fcntl.h>. + * sysdeps/mach/hurd/i386/init-first.c: Include <ldsodefs.h> and <fpu_control.h>. |