summaryrefslogtreecommitdiff
path: root/usr.bin/ruptime
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-11-16 17:10:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-11-16 17:10:07 +0000
commitea3df69903ba07d2a69c47af08cc3c0da9764b8d (patch)
treef60a6dd4b5516d879ae7e4040979a92c78201124 /usr.bin/ruptime
parentcb8b27e414038a9ede4e7df3653fdb54a0f836b3 (diff)
Instead of using a longjmp to catch SIGPIPE, just set to SIG_IGN and
check the return value on writes for error. Save and restore terminal modes when piping to a command so we end up with a known good state if the command terminates uncleanly.
Diffstat (limited to 'usr.bin/ruptime')
0 files changed, 0 insertions, 0 deletions