summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--NEWS17
2 files changed, 19 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index def9a1db7..6def725d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -49,9 +49,6 @@
setting exit_failure directly; this optimizes away redundant
assignments.
* src/printenv.c, src/sort.c, src/test.c, src/tty.c: Likewise.
- * src/system.h (initialize_exit_failure): New function.
- Include exitfail.h here, since we refer to exit_failure.
- All callers changed to not include exitfail.h.
* src/chroot.c (main): Exit with status 1 rather than 127
if chroot itself fails, as per documentation.
@@ -135,6 +132,8 @@
* src/system.h (EXIT_FAIL, EXIT_CANNOT_INVOKE, EXIT_ENOENT):
New enum values.
(initialize_exit_failure): New inline function.
+ Include exitfail.h here, since we refer to exit_failure.
+ All callers changed to not include exitfail.h.
* src/tty.c (TTY_FAILURE, TTY_WRITE_ERROR): New enum values;
substitute them for the corresponding integer constants.
diff --git a/NEWS b/NEWS
index f4ef23eb5..7442619a1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,21 @@
GNU coreutils NEWS -*- outline -*-
+* Major changes in release 5.1.2 (2004-01-18):
+
+** Bug fixes
+
+ rmdir -p exits with status 1 on error; formerly it sometimes exited
+ with status 0 when given more than one argument.
+
+ nohup now always exits with status 127 when it finds an error,
+ as POSIX requires; formerly it sometimes exited with status 1.
+
+ Several programs (including cut, date, dd, env, hostname, nl, pr,
+ stty, and tr) now always exit with status 1 when they find an error;
+ formerly they sometimes exited with status 2.
+
+ factor no longer reports a usage error if stdin has the wrong format.
+
+
* Major changes in release 5.1.1 (2004-01-17):
** Configuration option