aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-18 13:36:59 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-18 13:36:59 +0000
commit52cda95831cdc685d74b99334a06fb1f69996dc4 (patch)
tree85dcdd0eaab16014fb605b707ea93746f277bb79 /linuxthreads
parent80a18298f02005310cf0edc6163ae5eff5fad09a (diff)
downloadglibc-52cda95831cdc685d74b99334a06fb1f69996dc4.zip
glibc-52cda95831cdc685d74b99334a06fb1f69996dc4.tar.gz
glibc-52cda95831cdc685d74b99334a06fb1f69996dc4.tar.bz2
Update.
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.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/manager.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 63a3b7c..7913e08 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -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.
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index 7fe4d46..8844dec 100644
--- a/linuxthreads/manager.c
+++ b/linuxthreads/manager.c
@@ -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) {