texinfo-commits
[Top][All Lists]
Advanced

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

[6075] %s argument to info_error


From: Gavin D. Smith
Subject: [6075] %s argument to info_error
Date: Thu, 29 Jan 2015 12:45:33 +0000

Revision: 6075
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6075
Author:   gavin
Date:     2015-01-29 12:45:19 +0000 (Thu, 29 Jan 2015)
Log Message:
-----------
%s argument to info_error

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/info.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-01-29 01:45:33 UTC (rev 6074)
+++ trunk/ChangeLog     2015-01-29 12:45:19 UTC (rev 6075)
@@ -1,3 +1,9 @@
+2015-01-29  Vitezslav Crhonek <address@hidden> (tiny change)
+
+       * info/info.c (main): Call info_error with "%s" just in case the 
+       error string contained a formatting sequence.  (Report via 
+       Savannah.)
+
 2015-01-28  Karl Berry  <address@hidden>
 
        * tp/Convert/HTML.pm (output): make bodytext default set only the lang

Modified: trunk/info/info.c
===================================================================
--- trunk/info/info.c   2015-01-29 01:45:33 UTC (rev 6074)
+++ trunk/info/info.c   2015-01-29 12:45:19 UTC (rev 6075)
@@ -905,7 +905,7 @@
   if (user_output_filename)
     {
       if (error)
-        info_error (error);
+        info_error ("%s", error);
 
       preprocess_nodes_p = 0;
       dump_nodes_to_file (ref_list, user_output_filename, dump_subnodes);
@@ -914,7 +914,7 @@
 
   if (user_filename && error)
     {
-      info_error (error);
+      info_error ("%s", error);
       exit (0);
     }
     




reply via email to

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