commit | 492e3aa4373f0f20a8685cfb3591a9730bb0454a | [log] [download] |
---|---|---|
author | Tiago Cunha <tcunha@gmx.com> | Fri Jan 21 23:44:13 2011 +0000 |
committer | Tiago Cunha <tcunha@gmx.com> | Fri Jan 21 23:44:13 2011 +0000 |
tree | 3f11c4b5b3b68706442324e1be636c07e25d3db5 | |
parent | 6b19621112c2fccdcde88f864291ef0939820b0d [diff] |
Sync OpenBSD patchset 834: 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").