1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00
* sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
	and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
This commit is contained in:
Ulrich Drepper
2001-06-26 04:59:41 +00:00
parent 1574022402
commit da0debaa44
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
2001-06-25 Ulrich Drepper <drepper@redhat.com> 2001-06-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
* elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
_dl_catch_error calls. _dl_catch_error calls.

View File

@@ -163,7 +163,9 @@ struct ifreq
# define ifr_bandwidth ifr_ifru.ifru_ivalue /* link bandwidth */ # define ifr_bandwidth ifr_ifru.ifru_ivalue /* link bandwidth */
# define ifr_qlen ifr_ifru.ifru_ivalue /* queue length */ # define ifr_qlen ifr_ifru.ifru_ivalue /* queue length */
# define ifr_newname ifr_ifru.ifru_newname /* New name */ # define ifr_newname ifr_ifru.ifru_newname /* New name */
# define _IOT_ifreq _IOT(_IOTS(struct ifreq),1,0,0,0,0) /* not right */ # define _IOT_ifreq _IOT(_IOTS(char),IFNAMSIZ,_IOTS(char),16,0,0)
# define _IOT_ifreq_short _IOT(_IOTS(char),IFNAMSIZ,_IOTS(short),1,0,0)
# define _IOT_ifreq_int _IOT(_IOTS(char),IFNAMSIZ,_IOTS(int),1,0,0)
/* Structure used in SIOCGIFCONF request. Used to retrieve interface /* Structure used in SIOCGIFCONF request. Used to retrieve interface