nohup now ignores the umask when creating nohup.out.

nohup now closes stderr if it is a terminal and stdout is closed.
This commit is contained in:
Paul Eggert committed 2005-03-19 00:46:47 +00:00
1 parent 435f4c081f
commit f89674dc6f
1 file changed
+10 -1
+10 -1
View File
@@ -1,7 +1,16 @@
2005-03-17 Jim Meyering <jim@meyering.net>
2005-03-18 Paul Eggert <eggert@cs.ucla.edu>
* 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 <jim@meyering.net>
* src/cut.c (set_fields): Use DECIMAL_DIGIT_ACCUMULATE macro,
in place of functionally-equivalent code.
* src/expand.c (parse_tab_stops, main): Likewise.