[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r8586 - in /branches/eglibc-2_9/libc: ChangeLog.eglibc nptl/init.c



Author: joseph
Date: Tue Jun 23 12:58:11 2009
New Revision: 8586

Log:
	* nptl/init.c (sighandler_setxid): Remove duplicate decrement of
	__xidcmd->cntr.

Modified:
    branches/eglibc-2_9/libc/ChangeLog.eglibc
    branches/eglibc-2_9/libc/nptl/init.c

Modified: branches/eglibc-2_9/libc/ChangeLog.eglibc
==============================================================================
--- branches/eglibc-2_9/libc/ChangeLog.eglibc (original)
+++ branches/eglibc-2_9/libc/ChangeLog.eglibc Tue Jun 23 12:58:11 2009
@@ -1,3 +1,8 @@
+2009-06-23  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* nptl/init.c (sighandler_setxid): Remove duplicate decrement of
+	__xidcmd->cntr.
+
 2009-01-26  Julian Brown  <julian@xxxxxxxxxxxxxxxx>
 
 	* elf/Makefile ($(objpfx)ld.so): Add sed pattern to recognize text

Modified: branches/eglibc-2_9/libc/nptl/init.c
==============================================================================
--- branches/eglibc-2_9/libc/nptl/init.c (original)
+++ branches/eglibc-2_9/libc/nptl/init.c Tue Jun 23 12:58:11 2009
@@ -216,9 +216,6 @@
   INTERNAL_SYSCALL_NCS (__xidcmd->syscall_no, err, 3, __xidcmd->id[0],
 			__xidcmd->id[1], __xidcmd->id[2]);
 
-  if (atomic_decrement_val (&__xidcmd->cntr) == 0)
-    lll_futex_wake (&__xidcmd->cntr, 1, LLL_PRIVATE);
-
   /* Reset the SETXID flag.  */
   struct pthread *self = THREAD_SELF;
   int flags, newval;