diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-10-20 07:21:57 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2008-10-20 07:21:57 +0000 |
commit | 6d8225fe1a3277273c245ceb1b35fd536300f649 (patch) | |
tree | 2c0992e862046504ff1767f29601e35981ca4d47 /nscd/connections.c | |
parent | 315a43aa949b25896c511fa6e2efd6be57e2e01d (diff) | |
download | glibc-6d8225fe1a3277273c245ceb1b35fd536300f649.tar glibc-6d8225fe1a3277273c245ceb1b35fd536300f649.tar.gz glibc-6d8225fe1a3277273c245ceb1b35fd536300f649.tar.bz2 glibc-6d8225fe1a3277273c245ceb1b35fd536300f649.zip |
Updated to fedora-glibc-20081019T1815cvs/fedora-glibc-2_8_90-14
Diffstat (limited to 'nscd/connections.c')
-rw-r--r-- | nscd/connections.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c index 3395e54fa1..e3a67386d0 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -239,7 +239,7 @@ static int resolv_conf_descr = -1; before be know the result. */ static int have_sock_cloexec; /* The paccept syscall was introduced at the same time as SOCK_CLOEXEC. */ -# define have_paccept have_sock_cloexec +# define have_paccept -1 // XXX For the time being there is no such call #endif /* Number of times clients had to wait. */ @@ -1824,12 +1824,14 @@ main_loop_poll (void) if (have_paccept >= 0) #endif { +#if 0 fd = TEMP_FAILURE_RETRY (paccept (sock, NULL, NULL, NULL, SOCK_NONBLOCK)); #ifndef __ASSUME_PACCEPT if (have_paccept == 0) have_paccept = fd != -1 || errno != ENOSYS ? 1 : -1; #endif +#endif } #ifndef __ASSUME_PACCEPT if (have_paccept < 0) |