From owner-cvs-all Mon Feb 23 17:45:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA12426 for cvs-all-outgoing; Mon, 23 Feb 1998 17:45:17 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA12421; Mon, 23 Feb 1998 17:45:16 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA01923; Mon, 23 Feb 1998 17:45:06 -0800 (PST) Date: Mon, 23 Feb 1998 17:45:06 -0800 (PST) Message-Id: <199802240145.RAA01923@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/dd misc.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk bde 1998/02/23 17:45:05 PST Modified files: bin/dd misc.c Log: Exit with a nonzero status if we get killed by a SIGINT. POSIX.2 specifies exiting with a zero status if the file was copied successfully, and with a nonzero status if an error occurred. We are too sloppy to tell if the file was copied successfully when we get killed by a SIGINT, but it is unlikely to have been. Added a comment about related sloppiness (calling exit() from a signal handler). Revision Changes Path 1.12 +5 -4 src/bin/dd/misc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message