From: Jim Meyering Date: Sat, 25 Jan 1997 06:43:16 +0000 (+0000) Subject: . X-Git-Tag: TEXTUTILS-1_21a~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a735b7b9e1caece1162a65c16aae1bb12868008;p=thirdparty%2Fcoreutils.git . --- diff --git a/old/sh-utils/ChangeLog b/old/sh-utils/ChangeLog index 61235b8fad..f7710e14f9 100644 --- a/old/sh-utils/ChangeLog +++ b/old/sh-utils/ChangeLog @@ -1,3 +1,13 @@ +Fri Jan 24 23:36:00 1997 Jim Meyering + + * lib/long-options.c (parse_long_options): Reset optind to zero + before just returning so that getopt internals get initialized from + the probably-new parameters when/if getopt is called later. + This solves the problem (reintroduced with 1.15) where `stty -tabs' + would not work as advertised but instead act like `stty -a'. + Reported by Arne Juul. + Suggested fix from Ulrich Drepper. + Wed Jan 22 20:12:31 1997 Jim Meyering * lib/getopt.c: Update from GNU C library.