diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-07-30 16:33:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-07-30 16:33:19 +0000 |
commit | bd7f48571d8bca9fd9072aad409c30e0e2cbc2e0 (patch) | |
tree | 627d08943183bbb8f5948410f6f691ed22323199 /nscd/connections.c | |
parent | a707cff63d72f4e9d1a755b42444daef78f306b2 (diff) | |
download | glibc-bd7f48571d8bca9fd9072aad409c30e0e2cbc2e0.tar.gz glibc-bd7f48571d8bca9fd9072aad409c30e0e2cbc2e0.tar.xz glibc-bd7f48571d8bca9fd9072aad409c30e0e2cbc2e0.zip |
* nscd/connections.c (nscd_init): Type if preprocessor directive.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT): Define.
Diffstat (limited to 'nscd/connections.c')
-rw-r--r-- | nscd/connections.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c index a1b92f466b..8281533c3b 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -880,7 +880,7 @@ cannot set socket to close on exec: %s; disabling paranoia mode"), #endif { sock = socket (AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); -#ifdef __ASSUME_SOCK_CLOEXEC +#ifndef __ASSUME_SOCK_CLOEXEC if (have_sock_cloexec == 0) have_sock_cloexec = sock != -1 || errno != EINVAL ? 1 : -1; #endif |