]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Stty option-parsing fixes.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Sep 2004 07:28:11 +0000 (07:28 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Sep 2004 07:28:11 +0000 (07:28 +0000)
ChangeLog

index 4228c454b5cf6d0f5e2f13a131d21e2356ea12b0..56007b1d232826634ce6e6d0d9a4da551b78b161 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2004-09-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * src/stty.c (valid_options): Remove.
+       (main): Fix some bugs in handling invalid option-combinations
+       like "stty -F".
+       (recover_mode): Arg is now char const *, not char *.
+       (main): Use STDIN_FILENO, not 0.
+       Simplify option-parsing code a tad.
+       * tests/stty/basic-1: Check for the fixed bugs.
+
 2004-09-03  Paul Eggert  <eggert@cs.ucla.edu>
 
        * src/stat.c (HAVE_STRUCT_STATXFS_F_TYPE): Fix typo that prevented