Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 1998 17:45:06 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG
Subject:   cvs commit: src/bin/dd misc.c
Message-ID:  <199802240145.RAA01923@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802240145.RAA01923>