texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[5419] somewhat handle -o in texindex, for posterity only


From: karl
Subject: [5419] somewhat handle -o in texindex, for posterity only
Date: Tue, 25 Feb 2014 23:42:47 +0000

Revision: 5419
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5419
Author:   karl
Date:     2014-02-25 23:42:47 +0000 (Tue, 25 Feb 2014)
Log Message:
-----------
somewhat handle -o in texindex, for posterity only

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/util/texindex.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-02-25 22:27:05 UTC (rev 5418)
+++ trunk/ChangeLog     2014-02-25 23:42:47 UTC (rev 5419)
@@ -1,3 +1,10 @@
+2014-02-25  Arnold Robbins  <address@hidden>
+            Karl Berry  <address@hidden>
+
+       * util/texindex.c (decode_command): increment arg_index again
+       after looking at the argument, not before.  This made -o unusable;
+       therefore presumably no one has been using it, and it will be dropped.
+
 2014-02-19  Karl Berry  <address@hidden>
 
        * install-info/tests/ii-0054-*,

Modified: trunk/util/texindex.c
===================================================================
--- trunk/util/texindex.c       2014-02-25 22:27:05 UTC (rev 5418)
+++ trunk/util/texindex.c       2014-02-25 23:42:47 UTC (rev 5419)
@@ -314,9 +314,9 @@
             {
               if (argv[arg_index] != (char *)NULL)
                 {
-                  arg_index++;
                   if (op > outfiles)
                     *(op - 1) = argv[arg_index];
+                  arg_index++;
                 }
               else
                 usage (EXIT_FAILURE);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]