Date: Sun, 11 Oct 2009 12:32:25 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/systat keyboard.c main.c Message-ID: <200910111232.n9BCWlm9013404@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jh 2009-10-11 12:32:25 UTC FreeBSD src repository Modified files: usr.bin/systat keyboard.c main.c Log: SVN rev 197956 on 2009-10-11 12:32:25Z by jh - Catch SIGHUP to perform cleanup before exiting. - Exit if getch() returns with an error other than EINTR. Otherwise systat(1) may get stuck in an infinite loop if it doesn't receive SIGHUP when terminal closes. [1] - Remove attempt to clear stdio error indicators. getch() doesn't use stdio, making it useless. [2] - Remove unneeded masking of getch() return value. [2] PR: bin/107171 Reviewed by: bde Approved by: trasz (mentor) Obtained from: OpenBSD [1] Suggested by: bde [2] MFC after: 1 month Revision Changes Path 1.4 +7 -4 src/usr.bin/systat/keyboard.c 1.22 +1 -0 src/usr.bin/systat/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910111232.n9BCWlm9013404>