From owner-cvs-all Mon Jun 25 2:35:18 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id A536137B406; Mon, 25 Jun 2001 02:35:05 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f5P9Z2e28719; Mon, 25 Jun 2001 12:35:02 +0300 (EEST) (envelope-from ru) Date: Mon, 25 Jun 2001 12:35:02 +0300 From: Ruslan Ermilov To: Dima Dorfman Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/dd misc.c Message-ID: <20010625123502.F22256@sunbay.com> Mail-Followup-To: Dima Dorfman , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200106250617.f5P6H3W90483@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106250617.f5P6H3W90483@freefall.freebsd.org>; from dd@FreeBSD.org on Sun, Jun 24, 2001 at 11:17:03PM -0700 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 What? dd broke dd?! :-) On Sun, Jun 24, 2001 at 11:17:03PM -0700, Dima Dorfman wrote: > 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 -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message