[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[5322] Fix -a functionality.
From: |
Sergey Poznyakoff |
Subject: |
[5322] Fix -a functionality. |
Date: |
Sat, 17 Aug 2013 13:07:10 +0000 |
Revision: 5322
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5322
Author: gray
Date: 2013-08-17 13:07:09 +0000 (Sat, 17 Aug 2013)
Log Message:
-----------
Fix -a functionality.
* info/info.c (all_files): Clear cached data to avoid
reading the same file again.
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/info.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2013-08-16 16:39:58 UTC (rev 5321)
+++ trunk/ChangeLog 2013-08-17 13:07:09 UTC (rev 5322)
@@ -1,3 +1,10 @@
+2013-08-17 Sergey Poznyakoff <address@hidden>
+
+ Fix -a functionality.
+
+ * info/info.c (all_files): Clear cached data to avoid
+ reading the same file again.
+
2013-08-16 Karl Berry <address@hidden>
* doc/texinfo.texi (Conventions): remove statement about
Modified: trunk/info/info.c
===================================================================
--- trunk/info/info.c 2013-08-16 16:39:58 UTC (rev 5321)
+++ trunk/info/info.c 2013-08-17 13:07:09 UTC (rev 5322)
@@ -394,7 +394,8 @@
for (i = 0; fref[i].filename; )
{
NODE *node;
-
+
+ forget_file_names ();
if (!user_filename)
{
char *p = dirname (fref[i].filename);
@@ -446,10 +447,12 @@
dump_subnodes);
else
fref[i].nodename = xstrdup (node->nodename);
+
+ forget_info_file (fref[i].filename);
++i;
}
}
-
+
if (print_where_p || user_output_filename)
return EXIT_SUCCESS;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [5322] Fix -a functionality.,
Sergey Poznyakoff <=