aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-24 03:12:25 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-24 03:12:25 +0000
commit715db78bd4108b1bf2683345b9b03f684055f0bd (patch)
tree6e05a1da40c37c0c137ae558db1d75688c8d6068
parentc012be6f99bd335830c9b620f184749f9f72fea5 (diff)
downloadglibc-715db78bd4108b1bf2683345b9b03f684055f0bd.zip
glibc-715db78bd4108b1bf2683345b9b03f684055f0bd.tar.gz
glibc-715db78bd4108b1bf2683345b9b03f684055f0bd.tar.bz2
* sysdeps/unix/sysv/linux/check_native.c: Include <asm/types.h>.
* nscd/mem.c (gc): Don't allocate arrays on the stack if they can Return zero in case the thread library is not NPTL.
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/unix/sysv/linux/check_native.c1
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9be98ef..14afc87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-23 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/check_native.c: Include <asm/types.h>.
+
2007-11-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers):
@@ -22,12 +26,12 @@
[BZ #5382]
* nscd/nscd.h (NSCD_THREAD_STACKSIZE): Define.
* nscd/connections.c (start_threads): Use NSCD_THREAD_STACKSIZE.
- * nscd/mem.c (gc): Don't allocate arrays on stack if it can
+ * nscd/mem.c (gc): Don't allocate arrays on the stack if they can
overflow it.
Partially based on a patch by Petr Baudis <pasky@suse.cz>.
* sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread):
- Return zero in case thread library is not NPTL.
+ Return zero in case the thread library is not NPTL.
[BZ #5375]
* resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix locking when
diff --git a/sysdeps/unix/sysv/linux/check_native.c b/sysdeps/unix/sysv/linux/check_native.c
index 1ae8dbb..6e6624a 100644
--- a/sysdeps/unix/sysv/linux/check_native.c
+++ b/sysdeps/unix/sysv/linux/check_native.c
@@ -29,6 +29,7 @@
#include <net/if_arp.h>
#include <sys/ioctl.h>
+#include <asm/types.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>