]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 18 Mar 1998 13:36:59 +0000 (13:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 18 Mar 1998 13:36:59 +0000 (13:36 +0000)
1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* manager.c (__pthread_manager): Reduce first argument to select
to include just the needed file descriptor.

linuxthreads/ChangeLog
linuxthreads/manager.c

index 63a3b7c758bb3f216b2b3e0681f0af2a682f862e..7913e085f1f3d96d59471f45024b9123f452e284 100644 (file)
@@ -1,3 +1,8 @@
+1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * manager.c (__pthread_manager): Reduce first argument to select
+       to include just the needed file descriptor.
+
 1998-03-17 00:06  Ulrich Drepper  <drepper@cygnus.com>
 
        * manager.c: Fix last patch which caused core dumps.
index 7fe4d468f68fa816dcc848c9e71b12aa432e6c9c..8844decab710fad8e347ebd042ecf2bacd7004e1 100644 (file)
@@ -99,7 +99,7 @@ int __pthread_manager(void *arg)
     FD_SET(reqfd, &readfds);
     timeout.tv_sec = 2;
     timeout.tv_usec = 0;
-    n = __select(FD_SETSIZE, &readfds, NULL, NULL, &timeout);
+    n = __select(reqfd + 1, &readfds, NULL, NULL, &timeout);
 
     /* Check for termination of the main thread */
     if (getppid() == 1) {
This page took 0.048335 seconds and 5 git commands to generate.