summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/pthread_private.h
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>1999-08-05 12:08:10 +0000
committerdeischen <deischen@FreeBSD.org>1999-08-05 12:08:10 +0000
commit9161b0a7904cd5f5ec64dfebc31201ccdf41c2f9 (patch)
treefded8c38645f1509bdaf35c512fd84076a5ce350 /lib/libc_r/uthread/pthread_private.h
parent4df48d07f1726a1f451ba70d0bcdd288e3c2803a (diff)
downloadFreeBSD-src-9161b0a7904cd5f5ec64dfebc31201ccdf41c2f9.zip
FreeBSD-src-9161b0a7904cd5f5ec64dfebc31201ccdf41c2f9.tar.gz
Fix thread initialization to allow for the case where stdio file
descriptors are not opened. PR: bin/12853 Reviewed by: jb
Diffstat (limited to 'lib/libc_r/uthread/pthread_private.h')
-rw-r--r--lib/libc_r/uthread/pthread_private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h
index d6a6eb1..65203d5 100644
--- a/lib/libc_r/uthread/pthread_private.h
+++ b/lib/libc_r/uthread/pthread_private.h
@@ -20,7 +20,7 @@
* THIS SOFTWARE IS PROVIDED BY JOHN BIRRELL AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
@@ -31,7 +31,7 @@
*
* Private thread definitions for the uthread kernel.
*
- * $Id: pthread_private.h,v 1.23 1999/07/11 05:56:35 jasone Exp $
+ * $Id: pthread_private.h,v 1.24 1999/07/12 16:09:30 dt Exp $
*/
#ifndef _PTHREAD_PRIVATE_H
@@ -817,7 +817,7 @@ SCLASS const int dtablecount
#endif
SCLASS int _thread_dtablesize /* Descriptor table size. */
#ifdef GLOBAL_PTHREAD_PRIVATE
-= 1024;
+= 0;
#else
;
#endif
OpenPOWER on IntegriCloud