mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
* nscd/connections.c (nscd_init): Type if preprocessor directive.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT): Define.
This commit is contained in:
parent
a707cff63d
commit
bd7f48571d
@ -1,5 +1,10 @@
|
||||
2008-07-30 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* nscd/connections.c (nscd_init): Type if preprocessor directive.
|
||||
|
||||
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT):
|
||||
Define.
|
||||
|
||||
* misc/syslog.c (openlog_internal): Fix compile problem.
|
||||
|
||||
2008-07-28 Roland McGrath <roland@redhat.com>
|
||||
|
@ -1,3 +1,7 @@
|
||||
2008-07-30 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* tst-align2.c (f): Print message that f is reached.
|
||||
|
||||
2008-04-28 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
|
||||
|
||||
[BZ #6740]
|
||||
|
@ -31,6 +31,8 @@ f (void *arg)
|
||||
{
|
||||
bool ok = true;
|
||||
|
||||
puts ("in f");
|
||||
|
||||
if (TEST_STACK_ALIGN ())
|
||||
ok = false;
|
||||
|
||||
|
@ -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
|
||||
|
@ -506,4 +506,5 @@
|
||||
# define __ASSUME_SOCK_CLOEXEC 1
|
||||
# define __ASSUME_IN_NONBLOCK 1
|
||||
# define __ASSUME_PIPE2 1
|
||||
# define __ASSUME_PACCEPT 1
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user