Date: Sun, 24 Jun 2001 23:17:03 -0700 (PDT) From: Dima Dorfman <dd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/dd misc.c Message-ID: <200106250617.f5P6H3W90483@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106250617.f5P6H3W90483>