texinfo-commits
[Top][All Lists]
Advanced

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

[5826] recover properly if character encoding conversion stopped on inco


From: Gavin D. Smith
Subject: [5826] recover properly if character encoding conversion stopped on incomplete input
Date: Sat, 13 Sep 2014 17:36:41 +0000

Revision: 5826
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5826
Author:   gavin
Date:     2014-09-13 17:36:39 +0000 (Sat, 13 Sep 2014)
Log Message:
-----------
recover properly if character encoding conversion stopped on incomplete input

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-09-12 18:14:23 UTC (rev 5825)
+++ trunk/ChangeLog     2014-09-13 17:36:39 UTC (rev 5826)
@@ -1,3 +1,8 @@
+2014-09-13  Gavin Smith  <address@hidden>
+
+       * info/info-utils.c (copy_converting) <EINVAL>: Try converting again
+       if input was incomplete, instead of degrading to ASCII.
+
 2014-09-12  Gavin Smith  <address@hidden>
 
        * info/info.h: Don't include other header files.

Modified: trunk/info/info-utils.c
===================================================================
--- trunk/info/info-utils.c     2014-09-12 18:14:23 UTC (rev 5825)
+++ trunk/info/info-utils.c     2014-09-13 17:36:39 UTC (rev 5826)
@@ -880,7 +880,7 @@
               copy_direct (bytes_left);
               bytes_left = 0;
             }
-          break;
+          continue;
         default: /* Unknown error - abort */
           info_error (_("Error converting file character encoding."));
 




reply via email to

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