.
authorJim Meyering <jim@meyering.net>
Thu, 22 Jan 2004 22:08:18 +0000 (22:08 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 22 Jan 2004 22:08:18 +0000 (22:08 +0000)
ChangeLog
NEWS

index def9a1d..6def725 100644 (file)
--- 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.
        * 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 f4ef23e..7442619 100644 (file)
--- 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