Commit Graph

6 Commits

Author SHA1 Message Date
Mike Barcroft
e896ec1ef5 o Integrate security enhancements from OpenBSD.
- Don't assume environment variable HOME is not NULL.
o Integrate standards compliance from NetBSD.
  - Allow -- before the command.
  - Blocking SIGQUIT isn't standards compliant.
  - Proper exit(3) levels.
  - Actually append to nohup.out (as documented and required
    by standard) instead of clobbering it.
o Remove some FreeBSD specific access(2) cruft (relating to
  incorrect appending).
o Document the fact that two or more instances of nohup can
  append to the same file.
o Constify; Staticize functions; Set WARNS?=2

Reviewed by:	bde
Approved by:	des
Obtained from:	NetBSD, OpenBSD
MFC after:	9 days
2001-07-19 21:25:10 +00:00
Philippe Charnier
34398e2d9b Sync SYNOPSIS and usage() string. 2000-03-26 14:46:41 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Tim Vanderhoek
6e01d46b30 If we're going to do such a non-UNIX(tm)y thing as appending output
to a file instead of truncating, at least word the notice of output
redirection appropriately.
1999-05-22 06:57:22 +00:00
Philippe Charnier
7eb436730f Use err(3). 1997-07-31 06:54:45 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00