1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC

use.

	* sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4
	handling.
This commit is contained in:
Ulrich Drepper
2008-12-08 04:08:51 +00:00
parent 905ef0daeb
commit 200da00a7c
3 changed files with 10 additions and 4 deletions

View File

@ -512,7 +512,7 @@
#endif
/* Support for the accept4 syscall was added in 2.6.28. */
#if __LINUX_KERNEL_VERSION >= 0x02061b \
#if __LINUX_KERNEL_VERSION >= 0x02061c \
&& (defined __i386__ || defined __x86_64__ || defined __powerpc__ \
|| defined __ia64__ || defined __sparc__ || __s390__)
# define __ASSUME_ACCEPT4 1