texinfo-commits
[Top][All Lists]
Advanced

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

[7619] xspara.c clear in_use flag


From: gavinsmith0123
Subject: [7619] xspara.c clear in_use flag
Date: Fri, 13 Jan 2017 13:02:05 -0500 (EST)

Revision: 7619
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7619
Author:   gavin
Date:     2017-01-13 13:02:05 -0500 (Fri, 13 Jan 2017)
Log Message:
-----------
xspara.c clear in_use flag

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/Texinfo/Convert/XSParagraph/xspara.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2017-01-11 21:03:10 UTC (rev 7618)
+++ trunk/ChangeLog     2017-01-13 18:02:05 UTC (rev 7619)
@@ -1,3 +1,10 @@
+2017-01-13  Gavin Smith  <address@hidden>
+
+       * tp/Texinfo/Convert/XSParagraph/xspara.c (xspara_end): Clear
+       'in_use' on 'state' structure as well as in the 'saved_states'.
+       This avoids the storage being lost if 'xspara__switch_state' 
+       copies 'state' into 'saved_states'.
+
 2017-01-09  Gavin Smith  <address@hidden>
 
        * tp/Texinfo/MiscXS/miscxs.c,

Modified: trunk/tp/Texinfo/Convert/XSParagraph/xspara.c
===================================================================
--- trunk/tp/Texinfo/Convert/XSParagraph/xspara.c       2017-01-11 21:03:10 UTC 
(rev 7618)
+++ trunk/tp/Texinfo/Convert/XSParagraph/xspara.c       2017-01-13 18:02:05 UTC 
(rev 7619)
@@ -613,6 +613,7 @@
 
   /* Now it's time to forget about the state. */
   state_array[current_state].in_use = 0;
+  state.in_use = 0;
 
   /* Don't do this so we can get the closing line counts. */
   /* current_state = -1; */




reply via email to

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