texinfo-commits
[Top][All Lists]
Advanced

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

[5898] keep on checking for referenced file buffers in gc_file_buffers_a


From: Gavin D. Smith
Subject: [5898] keep on checking for referenced file buffers in gc_file_buffers_and_nodes
Date: Wed, 29 Oct 2014 13:55:30 +0000

Revision: 5898
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5898
Author:   gavin
Date:     2014-10-29 13:55:27 +0000 (Wed, 29 Oct 2014)
Log Message:
-----------
keep on checking for referenced file buffers in gc_file_buffers_and_nodes

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-10-29 00:05:17 UTC (rev 5897)
+++ trunk/ChangeLog     2014-10-29 13:55:27 UTC (rev 5898)
@@ -1,5 +1,11 @@
 2014-10-29  Gavin Smith  <address@hidden>
 
+       * info/session.c (gc_file_buffers_and_nodes): Keep on checking 
+       for referenced file buffers after one is found for a node.  
+       Report from Werner Lemberg.
+
+2014-10-29  Gavin Smith  <address@hidden>
+
        * info/session.c (info_dispatch_on_key): Don't display a 
        completed key sequence when in the echo area.
 

Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c        2014-10-29 00:05:17 UTC (rev 5897)
+++ trunk/info/session.c        2014-10-29 13:55:27 UTC (rev 5898)
@@ -1756,12 +1756,13 @@
             {
               FILE_BUFFER *fb = info_loaded_files[fb_index];
 
+              /* Each node should match at most one subfile and one 
+                 non-subfile. */
               if (fb->flags & N_Subfile)
                 {
                   if (n->subfile && !FILENAME_CMP (fb->fullpath, n->subfile))
                     {
                       fb_referenced[fb_index] = 1;
-                      break;
                     }
                 }
               else
@@ -1769,7 +1770,6 @@
                   if (n->fullpath && !FILENAME_CMP (fb->fullpath, n->fullpath))
                     {
                       fb_referenced[fb_index] = 1;
-                      break;
                     }
                 }
             }




reply via email to

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