diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-10-04 23:30:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-10-04 23:30:29 +0000 |
commit | e14bbf537e28b5470e5491bf0c1dc3d8849bc283 (patch) | |
tree | 897af75833e3f9a981a7909bc80b88cddfc1d389 | |
parent | e582c5eda2fea3cdb336f35a070997588b8ccf96 (diff) | |
download | glibc-e14bbf537e28b5470e5491bf0c1dc3d8849bc283.tar.gz glibc-e14bbf537e28b5470e5491bf0c1dc3d8849bc283.tar.xz glibc-e14bbf537e28b5470e5491bf0c1dc3d8849bc283.zip |
Update. cvs/fedora-glibc-20041005T0745
* nscd/gai.c: Define __no_netlink_support if NEED_NETLINK is defined and __ASSUME_NETLINK_SUPPORT is zero. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gai.c): Add -DNEED_NETLINK.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | nscd/gai.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/Makefile | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index f45ef42623..b51f6ba5c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2004-10-04 Ulrich Drepper <drepper@redhat.com> + * nscd/gai.c: Define __no_netlink_support if NEED_NETLINK is + defined and __ASSUME_NETLINK_SUPPORT is zero. + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gai.c): Add + -DNEED_NETLINK. + * malloc/mtrace.pl: Avoid calling location unless it is needed for output. Patch by Edward Bishop <binutils@gmail.com>. diff --git a/nscd/gai.c b/nscd/gai.c index 2279d7176b..722c7e415d 100644 --- a/nscd/gai.c +++ b/nscd/gai.c @@ -19,3 +19,7 @@ /* Some variables normally defined in libc. */ service_user *__nss_hosts_database; + +#if defined NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0 +int __no_netlink_support attribute_hidden; +#endif diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index fd089dd236..37be75e964 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -153,4 +153,5 @@ endif ifeq ($(subdir),nscd) CFLAGS-connections.c += -DHAVE_EPOLL +CFLAGS-gai.c += -DNEED_NETLINK endif |