diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-08-03 20:24:17 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-08-03 20:24:17 +0000 |
commit | 539d8546102ef6f0f706173d76469592e0c7038e (patch) | |
tree | 85f1a50b8921d01a65dff3726de0d0f458e80efe /lib | |
parent | 5afd0d401f7874b33a1973e2751d0db42bbaa32c (diff) |
Open files with O_NONBLOCK but turn off non-blocking mode for
non-ttys. If write(2) returns EAGAIN just ignore the error and
move on. This prevents a locked terminal from causing syslogd
grief. If we ever want to support logging to a fifo this will
probably have to be revisited.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions