From: Paul Eggert Date: Mon, 26 Jul 2004 06:07:04 +0000 (+0000) Subject: Portability and POSIX fixes for "nice". X-Git-Tag: v5.3.0~1084 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4dec5db9157aeb3a06cf4a88bf33c475543a13e;p=thirdparty%2Fcoreutils.git Portability and POSIX fixes for "nice". --- diff --git a/NEWS b/NEWS index 2f7c4fd597..f46048dee4 100644 --- a/NEWS +++ b/NEWS @@ -48,6 +48,19 @@ GNU coreutils NEWS -*- outline -*- If d/x is a directory and x a file, "ln x d/" now reports an error instead of incorrectly creating a link to d/x/x. + Fixes for "nice": + + If it fails to lower the nice value due to lack of permissions, + it goes ahead and runs the command anyway, as POSIX requires. + + It no longer incorrectly reports an error if the current nice + value happens to be -1. + + It no longer assumes that nice values range from -20 through 19. + + It now consistently adjusts out-of-range nice values to the + closest values in range; formerly it sometimes reported an error. + ptx now diagnoses invalid values for its --width=N (-w) and --gap-size=N (-g) options.