* 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.
This commit is contained in:
Ulrich Drepper 2007-11-24 03:12:25 +00:00
parent c012be6f99
commit 715db78bd4
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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>