[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[5640] INFO_*_TAGS constants removed
From: |
Gavin D. Smith |
Subject: |
[5640] INFO_*_TAGS constants removed |
Date: |
Thu, 05 Jun 2014 00:08:16 +0000 |
Revision: 5640
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5640
Author: gavin
Date: 2014-06-05 00:08:15 +0000 (Thu, 05 Jun 2014)
Log Message:
-----------
INFO_*_TAGS constants removed
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/nodes.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2014-06-05 00:05:51 UTC (rev 5639)
+++ trunk/ChangeLog 2014-06-05 00:08:15 UTC (rev 5640)
@@ -2,6 +2,7 @@
* info/nodes.c: Check if return value of file_buffer_of_window
is null.
+ (INFO_NO_TAGS, INFO_GET_TAGS): Removed. Uses updated
2014-06-05 Gavin Smith <address@hidden>
Modified: trunk/info/nodes.c
===================================================================
--- trunk/info/nodes.c 2014-06-05 00:05:51 UTC (rev 5639)
+++ trunk/info/nodes.c 2014-06-05 00:08:15 UTC (rev 5640)
@@ -561,11 +561,6 @@
/* Functions for retrieving files. */
-/* Passed to info_load_file. INFO_GET_TAGS says to do what is necessary
- to fill in the nodes or tags arrays in FILE_BUFFER. */
-#define INFO_NO_TAGS 0
-#define INFO_GET_TAGS 1
-
static FILE_BUFFER *info_load_file (char *fullpath, int get_tags);
static FILE_BUFFER *info_find_subfile (char *filename);
static void get_file_character_encoding (FILE_BUFFER *fb);
@@ -671,7 +666,7 @@
if (!fullpath)
return NULL;
- file_buffer = info_load_file (fullpath, INFO_GET_TAGS);
+ file_buffer = info_load_file (fullpath, 1);
return file_buffer;
}
@@ -713,7 +708,7 @@
with_extension = info_find_fullpath (fullpath, 0);
if (with_extension)
{
- file_buffer = info_load_file (with_extension, INFO_NO_TAGS);
+ file_buffer = info_load_file (with_extension, 0);
free (with_extension);
}
return file_buffer;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [5640] INFO_*_TAGS constants removed,
Gavin D. Smith <=