From 8347fcb52dac051382b95182fce08ee0fc642340 Mon Sep 17 00:00:00 2001 From: deischen Date: Thu, 29 Aug 2002 23:06:07 +0000 Subject: Remove much of the dereferencing of the fd table entries to look at file flags and replace it with functions that will avoid null pointer checks. MFC to be done by archie ;-) PR: 42100 Reviewed by: archie, robert MFC after: 3 days --- lib/libpthread/thread/thr_sig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpthread/thread/thr_sig.c') diff --git a/lib/libpthread/thread/thr_sig.c b/lib/libpthread/thread/thr_sig.c index 7aa9b53..cf319c6 100644 --- a/lib/libpthread/thread/thr_sig.c +++ b/lib/libpthread/thread/thr_sig.c @@ -536,7 +536,7 @@ thread_sig_handle_special(int sig) * Set the file descriptor to non-blocking: */ __sys_fcntl(i, F_SETFL, - _thread_fd_table[i]->flags | O_NONBLOCK); + _thread_fd_getflags(i) | O_NONBLOCK); } } /* -- cgit v1.1