diff options
Diffstat (limited to 'lib/libc_r/uthread/uthread_pipe.c')
| -rw-r--r-- | lib/libc_r/uthread/uthread_pipe.c | 5 | 
1 files changed, 0 insertions, 5 deletions
| diff --git a/lib/libc_r/uthread/uthread_pipe.c b/lib/libc_r/uthread/uthread_pipe.c index 925bbe30304a..5bac6b38fddd 100644 --- a/lib/libc_r/uthread/uthread_pipe.c +++ b/lib/libc_r/uthread/uthread_pipe.c @@ -46,11 +46,6 @@ pipe(int fds[2])  			_thread_sys_close(fds[0]);  			_thread_sys_close(fds[1]);  			ret = -1; -		} else { -			_thread_fd_table[fds[0]]->flags = _thread_sys_fcntl(fds[0], F_GETFL, NULL); -			_thread_sys_fcntl(fds[0], F_SETFL, _thread_fd_table[fds[0]]->flags | O_NONBLOCK); -			_thread_fd_table[fds[1]]->flags = _thread_sys_fcntl(fds[1], F_GETFL, NULL); -			_thread_sys_fcntl(fds[1], F_SETFL, _thread_fd_table[fds[1]]->flags | O_NONBLOCK);  		}  	}  	return (ret); | 
