From: Jim Meyering Date: Fri, 5 Apr 1996 16:08:32 +0000 (+0000) Subject: . X-Git-Tag: TEXTUTILS-1_14b~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cca1377d965dc0206e501233fe69b837b4d5cdbc;p=thirdparty%2Fcoreutils.git . --- diff --git a/old/sh-utils/ChangeLog b/old/sh-utils/ChangeLog index 6175a5cb3e..69ec4a69c7 100644 --- a/old/sh-utils/ChangeLog +++ b/old/sh-utils/ChangeLog @@ -1,7 +1,7 @@ Fri Apr 5 07:33:00 1996 Jim Meyering (meyering@na-net.ornl.gov) - * nice.c (main): Fix option handling. Before, FIXME......... - Patch from Frank Korz. + * nice.c (main): Simplify option handling. Before, `nice -18 -- nice' + improperly printed `8'. Patch from Frank Korz. (main): Use `if' stmt, not while loop, around getopt invocation. Otherwise, `./nice --a=1 -1 ./nice' (in which old-style option follows a long option) gets an error. diff --git a/old/sh-utils/NEWS b/old/sh-utils/NEWS index 1693b03be4..532b4caa22 100644 --- a/old/sh-utils/NEWS +++ b/old/sh-utils/NEWS @@ -1,4 +1,6 @@ User visible changes in release 1.13 +* nice option handling works with 2-digit old-style-option adjustments. + Now, `nice -18 -- nice' now prints `18'. Before it printed `8'. * New program: chroot. * internationalized diagnostic messages (so far, only french translations) * `date -d "01/01/1998 3 years" +%Y' now works properly. It prints 2001.