[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r16225 - in /fsf/trunk/libc: ChangeLog manual/resource.texi nptl/ChangeLog nptl/pthread_create.c
- To: commits@xxxxxxxxxx
- Subject: [Commits] r16225 - in /fsf/trunk/libc: ChangeLog manual/resource.texi nptl/ChangeLog nptl/pthread_create.c
- From: eglibc@xxxxxxxxxx
- Date: Thu, 15 Dec 2011 00:02:10 -0000
Author: eglibc
Date: Thu Dec 15 00:02:09 2011
New Revision: 16225
Log:
Import glibc-mainline for 2011-12-15
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/manual/resource.texi
fsf/trunk/libc/nptl/ChangeLog
fsf/trunk/libc/nptl/pthread_create.c
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Thu Dec 15 00:02:09 2011
@@ -1,3 +1,8 @@
+2011-12-12 Jeff Law <law@xxxxxxxxxx>
+
+ * manual/resource.texi (Processor Resources):
+ Fix typo in _SC_NPROCESSORS_ONLN.
+
2011-12-10 Ulrich Drepper <drepper@xxxxxxxxx>
* sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
Modified: fsf/trunk/libc/manual/resource.texi
==============================================================================
--- fsf/trunk/libc/manual/resource.texi (original)
+++ fsf/trunk/libc/manual/resource.texi Thu Dec 15 00:02:09 2011
@@ -1607,7 +1607,7 @@
@end smallexample
@noindent
-returns the number of processors which are currently inline (i.e.,
+returns the number of processors which are currently online (i.e.,
available).
For these two pieces of information the GNU C library also provides
Modified: fsf/trunk/libc/nptl/ChangeLog
==============================================================================
--- fsf/trunk/libc/nptl/ChangeLog (original)
+++ fsf/trunk/libc/nptl/ChangeLog Thu Dec 15 00:02:09 2011
@@ -1,3 +1,8 @@
+2011-12-14 Jeff Law <law@xxxxxxxxxx>
+
+ [BZ #5245]
+ * pthread_create.c (__pthread_create_2_1): Translate ENOMEM to EAGAIN.
+
2011-11-28 Andreas Schwab <schwab@xxxxxxxxxx>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Handle
Modified: fsf/trunk/libc/nptl/pthread_create.c
==============================================================================
--- fsf/trunk/libc/nptl/pthread_create.c (original)
+++ fsf/trunk/libc/nptl/pthread_create.c Thu Dec 15 00:02:09 2011
@@ -457,8 +457,9 @@
int err = ALLOCATE_STACK (iattr, &pd);
if (__builtin_expect (err != 0, 0))
/* Something went wrong. Maybe a parameter of the attributes is
- invalid or we could not allocate memory. */
- return err;
+ invalid or we could not allocate memory. Note we have to
+ translate error codes. */
+ return err == ENOMEM ? EAGAIN : err;
/* Initialize the TCB. All initializations with zero should be
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits