From owner-cvs-src-old@FreeBSD.ORG Fri May 21 16:04:16 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B83A51065680 for ; Fri, 21 May 2010 16:04:16 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A69BC8FC0C for ; Fri, 21 May 2010 16:04:16 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o4LG4GUu047568 for ; Fri, 21 May 2010 16:04:16 GMT (envelope-from jh@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4LG4G3v047567 for cvs-src-old@freebsd.org; Fri, 21 May 2010 16:04:16 GMT (envelope-from jh@repoman.freebsd.org) Message-Id: <201005211604.o4LG4G3v047567@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jh@repoman.freebsd.org using -f From: Jaakko Heinonen Date: Fri, 21 May 2010 16:03:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/usr.bin/systat keyboard.c main.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 16:04:16 -0000 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