From 3a829a54c2503d3caa76b355a0eb049e09b71702 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 22 Jan 2004 22:08:18 +0000 Subject: [PATCH] . --- ChangeLog | 5 ++--- NEWS | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index def9a1db76..6def725d60 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 f4ef23eb52..7442619a14 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 -- 2.47.2