[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r6656 - in /fsf/trunk/libc: ./ misc/ nptl/ nscd/ sysdeps/posix/ sysdeps/unix/sysv/linux/
- To: commits@xxxxxxxxxx
- Subject: [commits] r6656 - in /fsf/trunk/libc: ./ misc/ nptl/ nscd/ sysdeps/posix/ sysdeps/unix/sysv/linux/
- From: eglibc@xxxxxxxxxx
- Date: Thu, 31 Jul 2008 07:04:33 -0000
Author: eglibc
Date: Thu Jul 31 00:04:31 2008
New Revision: 6656
Log:
Import glibc-mainline for 2008-07-31
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/misc/syslog.c
fsf/trunk/libc/nptl/ChangeLog
fsf/trunk/libc/nptl/tst-align2.c
fsf/trunk/libc/nscd/connections.c
fsf/trunk/libc/sysdeps/posix/getaddrinfo.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/kernel-features.h
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Thu Jul 31 00:04:31 2008
@@ -1,3 +1,15 @@
+2008-07-30 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial
+ buffer passed to NSS functions.
+
+ * 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@xxxxxxxxxx>
* elf/dl-sysdep.c (_dl_show_auxv): Add AT_EXECFN to the table.
Modified: fsf/trunk/libc/misc/syslog.c
==============================================================================
--- fsf/trunk/libc/misc/syslog.c (original)
+++ fsf/trunk/libc/misc/syslog.c Thu Jul 31 00:04:31 2008
@@ -360,8 +360,8 @@
__have_sock_cloexec
= (LogFile != -1
|| errno != EINVAL);
-#endif
}
+#endif
#endif
#ifndef __ASSUME_SOCK_CLOEXEC
# ifdef SOCK_CLOEXEC
Modified: fsf/trunk/libc/nptl/ChangeLog
==============================================================================
--- fsf/trunk/libc/nptl/ChangeLog (original)
+++ fsf/trunk/libc/nptl/ChangeLog Thu Jul 31 00:04:31 2008
@@ -1,3 +1,7 @@
+2008-07-30 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * tst-align2.c (f): Print message that f is reached.
+
2008-04-28 Hiroki Kaminaga <kaminaga@xxxxxxxxxxxxx>
[BZ #6740]
Modified: fsf/trunk/libc/nptl/tst-align2.c
==============================================================================
--- fsf/trunk/libc/nptl/tst-align2.c (original)
+++ fsf/trunk/libc/nptl/tst-align2.c Thu Jul 31 00:04:31 2008
@@ -30,6 +30,8 @@
f (void *arg)
{
bool ok = true;
+
+ puts ("in f");
if (TEST_STACK_ALIGN ())
ok = false;
Modified: fsf/trunk/libc/nscd/connections.c
==============================================================================
--- fsf/trunk/libc/nscd/connections.c (original)
+++ fsf/trunk/libc/nscd/connections.c Thu Jul 31 00:04:31 2008
@@ -880,7 +880,7 @@
#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
Modified: fsf/trunk/libc/sysdeps/posix/getaddrinfo.c
==============================================================================
--- fsf/trunk/libc/sysdeps/posix/getaddrinfo.c (original)
+++ fsf/trunk/libc/sysdeps/posix/getaddrinfo.c Thu Jul 31 00:04:31 2008
@@ -697,7 +697,7 @@
old_res_options = _res.options;
_res.options &= ~RES_USE_INET6;
- size_t tmpbuflen = 512;
+ size_t tmpbuflen = 1024;
char *tmpbuf = alloca (tmpbuflen);
while (!no_more)
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/kernel-features.h
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/kernel-features.h (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/kernel-features.h Thu Jul 31 00:04:31 2008
@@ -506,4 +506,5 @@
# define __ASSUME_SOCK_CLOEXEC 1
# define __ASSUME_IN_NONBLOCK 1
# define __ASSUME_PIPE2 1
-#endif
+# define __ASSUME_PACCEPT 1
+#endif