summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc_r/uthread/uthread_init.c11
-rw-r--r--lib/libpthread/uthread/uthread_init.c11
2 files changed, 2 insertions, 20 deletions
diff --git a/lib/libc_r/uthread/uthread_init.c b/lib/libc_r/uthread/uthread_init.c
index 445fd6b69f5..b2414f7cc25 100644
--- a/lib/libc_r/uthread/uthread_init.c
+++ b/lib/libc_r/uthread/uthread_init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_init.c,v 1.24 2002/11/07 03:51:21 marc Exp $ */
+/* $OpenBSD: uthread_init.c,v 1.25 2002/11/08 07:53:03 marc Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -188,15 +188,6 @@ _thread_init(void)
}
/*
- * initialize the fd table for the stdio files. This grabs
- * the file flags before we start messing with them.
- */
- for (i = 0; i < 3; i++)
- if (_thread_fd_table_init(i) == -1 && errno != EBADF)
- PANIC("Cannot get stdio flags");
-
-
- /*
* Create a pipe that is written to by the signal handler to prevent
* signals being missed in calls to _select:
*/
diff --git a/lib/libpthread/uthread/uthread_init.c b/lib/libpthread/uthread/uthread_init.c
index 445fd6b69f5..b2414f7cc25 100644
--- a/lib/libpthread/uthread/uthread_init.c
+++ b/lib/libpthread/uthread/uthread_init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_init.c,v 1.24 2002/11/07 03:51:21 marc Exp $ */
+/* $OpenBSD: uthread_init.c,v 1.25 2002/11/08 07:53:03 marc Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -188,15 +188,6 @@ _thread_init(void)
}
/*
- * initialize the fd table for the stdio files. This grabs
- * the file flags before we start messing with them.
- */
- for (i = 0; i < 3; i++)
- if (_thread_fd_table_init(i) == -1 && errno != EBADF)
- PANIC("Cannot get stdio flags");
-
-
- /*
* Create a pipe that is written to by the signal handler to prevent
* signals being missed in calls to _select:
*/