Move all calls to fcntl(...O_NONBLOCK) into a function and clear the
commit69cb1f830e4fd2282ddcbc7ee2bbe30069b9e4cd
authorNicholas Marriott <nicm@openbsd.org>
Sat, 8 Jan 2011 01:52:36 +0000 (8 01:52 +0000)
committerNicholas Marriott <nicm@openbsd.org>
Sat, 8 Jan 2011 01:52:36 +0000 (8 01:52 +0000)
tree49efff28238bbba524974db0512859a310d0b09c
parent703160b5d6b64e45a684894260693c60b5524d51
Move all calls to fcntl(...O_NONBLOCK) into a function and clear the
flag on the stdio file descriptors before closing them (fixes things
like "tmux ls && cat").
client.c
cmd-pipe-pane.c
job.c
server-client.c
server.c
tmux.c
tmux.h
tty.c
window.c