From owner-cvs-all Sun Jun 24 23:17: 8 2001
Delivered-To: cvs-all@freebsd.org
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
by hub.freebsd.org (Postfix) with ESMTP
id 55B5437B406; Sun, 24 Jun 2001 23:17:03 -0700 (PDT)
(envelope-from dd@FreeBSD.org)
Received: (from dd@localhost)
by freefall.freebsd.org (8.11.3/8.11.3) id f5P6H3W90483;
Sun, 24 Jun 2001 23:17:03 -0700 (PDT)
(envelope-from dd)
Message-Id: <200106250617.f5P6H3W90483@freefall.freebsd.org>
From: Dima Dorfman
Date: Sun, 24 Jun 2001 23:17:03 -0700 (PDT)
To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/bin/dd misc.c
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
List-ID:
List-Archive: (Web Archive)
List-Help: (List Instructions)
List-Subscribe:
List-Unsubscribe:
X-Loop: FreeBSD.ORG
dd 2001/06/24 23:17:03 PDT
Modified files:
bin/dd misc.c
Log:
Previous commit broke dd(1)'s I/O summary when it's terminated by a
signal. Fix it by adding an explicit call to summary() in terminate()
(it was previously called implicitly by exit() because summary() was
registered with atexit()). summary() is supposed to be signal-safe--
it handles SIGINFO almost exclusively--so this should be safe.
Submitted by: bde
Revision Changes Path
1.21 +2 -1 src/bin/dd/misc.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message