From cca1377d965dc0206e501233fe69b837b4d5cdbc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 5 Apr 1996 16:08:32 +0000 Subject: . --- old/sh-utils/ChangeLog | 4 ++-- old/sh-utils/NEWS | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/old/sh-utils/ChangeLog b/old/sh-utils/ChangeLog index 6175a5cb3..69ec4a69c 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 1693b03be..532b4caa2 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. -- cgit v1.2.3-70-g09d2