Include fd-reopen.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2005 07:18:48 +0000 (07:18 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2005 07:18:48 +0000 (07:18 +0000)
commit2eeccaacd9fcb677ed963b5f2f6a7908f87a5125
tree1c2667cb58efb19d2a19232d676e0ba4e159f9e2
parent3fff9c1441fb00e94c5e7e660a2b9891820891b3
Include fd-reopen.h.
Include unistd--.h, not unistd-safer.h.
(main): Use fd_reopen to simplify code.  When replacing stdin,
use "/dev/null" not "/", as that's less likely to go wrong these days.
(main): Use dup, not dup_safer.
src/nohup.c