]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Sat, 25 Jan 1997 06:43:16 +0000 (06:43 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 25 Jan 1997 06:43:16 +0000 (06:43 +0000)
old/sh-utils/ChangeLog

index 61235b8fad442c82b48a74dad77f5026cf43d964..f7710e14f96ed729b0d8e026a60001b796b1625f 100644 (file)
@@ -1,3 +1,13 @@
+Fri Jan 24 23:36:00 1997  Jim Meyering  <meyering@na-net.ornl.gov>
+
+       * 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  <meyering@na-net.ornl.gov>
 
        * lib/getopt.c: Update from GNU C library.