aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-12-08 04:08:51 +0000
committerUlrich Drepper <drepper@redhat.com>2008-12-08 04:08:51 +0000
commit200da00a7c9948b3cb655608d4db4ac595a8269f (patch)
treea3ceee5608c08ed83acc9d3be2cb0f5714cf429c /sysdeps
parent905ef0daeb2fa3d685d924cdd8cbd6a4b19df8b8 (diff)
downloadglibc-200da00a7c9948b3cb655608d4db4ac595a8269f.zip
glibc-200da00a7c9948b3cb655608d4db4ac595a8269f.tar.gz
glibc-200da00a7c9948b3cb655608d4db4ac595a8269f.tar.bz2
* 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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 900baf1..42b1c10 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -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