Date: Fri, 21 May 2010 16:03:57 +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: <201005211604.o4LG4G3v047567@repoman.freebsd.org>
index | next in thread | raw e-mail
jh 2010-05-21 16:03:57 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
usr.bin/systat keyboard.c main.c
Log:
SVN rev 208381 on 2010-05-21 16:03:57Z by jh
MFC r197956:
- 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.
- Remove attempt to clear stdio error indicators. getch() doesn't use
stdio, making it useless.
- Remove unneeded masking of getch() return value.
PR: bin/107171
Revision Changes Path
1.2.24.1 +7 -4 src/usr.bin/systat/keyboard.c
1.20.2.1 +1 -0 src/usr.bin/systat/main.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005211604.o4LG4G3v047567>
