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

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



Author: joseph
Date: Thu Jul  2 13:01:12 2009
New Revision: 8631

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

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

Modified: branches/eglibc-2_10/libc/ChangeLog.eglibc
==============================================================================
--- branches/eglibc-2_10/libc/ChangeLog.eglibc (original)
+++ branches/eglibc-2_10/libc/ChangeLog.eglibc Thu Jul  2 13:01:12 2009
@@ -1,3 +1,8 @@
+2009-06-23  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* nptl/init.c (sighandler_setxid): Remove duplicate decrement of
+	__xidcmd->cntr.
+
 2009-05-06  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
 
 	* nss/nsswitch.c (lock_nsswitch, unlock_nsswitch): Remove brackets.

Modified: branches/eglibc-2_10/libc/nptl/init.c
==============================================================================
--- branches/eglibc-2_10/libc/nptl/init.c (original)
+++ branches/eglibc-2_10/libc/nptl/init.c Thu Jul  2 13:01:12 2009
@@ -240,9 +240,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;