texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Sat, 12 Oct 2024 08:09:41 -0400 (EDT)

branch: master
commit 03fb5d1ce88b08b468189adc5c71d05dda9ba6d5
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Oct 12 14:09:14 2024 +0200

    * info/nodes.c (init_file_buffer_tag), info/man.c (get_manpage_node):
    do not set N_HasTagsTable on a manpage node nor on a tag entry, it is
    only relevant and used at the file buffer level.
---
 ChangeLog    | 6 ++++++
 info/man.c   | 2 +-
 info/nodes.c | 1 -
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 71f121292c..ea6b735b64 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-10-12  Patrice Dumas  <pertusus@free.fr>
+
+       * info/nodes.c (init_file_buffer_tag), info/man.c (get_manpage_node):
+       do not set N_HasTagsTable on a manpage node nor on a tag entry, it is
+       only relevant and used at the file buffer level.
+
 2024-10-12  Patrice Dumas  <pertusus@free.fr>
 
        * info/nodes.c (init_file_buffer_tag): do not set N_TagsIndirect on
diff --git a/info/man.c b/info/man.c
index 5e1bd23945..9d4e698352 100644
--- a/info/man.c
+++ b/info/man.c
@@ -144,7 +144,7 @@ get_manpage_node (char *pagename)
       node = info_create_node ();
       node->fullpath = MANPAGE_FILE_BUFFER_NAME;
       node->nodename = xstrdup (pagename);
-      node->flags |= N_HasTagsTable | N_IsManPage;
+      node->flags |= N_IsManPage;
 
       /* Save this node. */
       add_pointer_to_array (node, manpage_node_index,
diff --git a/info/nodes.c b/info/nodes.c
index 173718c289..533b85286f 100644
--- a/info/nodes.c
+++ b/info/nodes.c
@@ -154,7 +154,6 @@ init_file_buffer_tag (FILE_BUFFER *fb, TAG *entry)
 {
   if (fb->flags & N_HasTagsTable)
     {
-      entry->flags |= N_HasTagsTable;
       entry->filename = fb->fullpath;
     }
 }



reply via email to

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