From: Paul Eggert Date: Sat, 19 Mar 2005 00:46:47 +0000 (+0000) Subject: nohup now ignores the umask when creating nohup.out. X-Git-Tag: CPPI-1_12~1269 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f89674dc6f4e07ef788859f1d1d54137e6dd1fc5;p=thirdparty%2Fcoreutils.git nohup now ignores the umask when creating nohup.out. nohup now closes stderr if it is a terminal and stdout is closed. --- diff --git a/ChangeLog b/ChangeLog index e8d629c100..d0a8f07f62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,16 @@ -2005-03-17 Jim Meyering +2005-03-18 Paul Eggert * Version 5.3.1. + * NEWS: nohup now ignores the umask when creating nohup.out. + nohup now closes stderr if it is a terminal and stdout is closed. + * src/nohup.c (main): Likewise. Be a little more paranoid about + return values; e.g., check for any negative return from open. + Assume free (NULL) works. + Close file descriptor leak when redirecting standard output to a file. + +2005-03-17 Jim Meyering + * src/cut.c (set_fields): Use DECIMAL_DIGIT_ACCUMULATE macro, in place of functionally-equivalent code. * src/expand.c (parse_tab_stops, main): Likewise.