texinfo-commits
[Top][All Lists]
Advanced

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

[6736] fixes for install-info.c


From: Gavin D. Smith
Subject: [6736] fixes for install-info.c
Date: Fri, 30 Oct 2015 22:57:39 +0000

Revision: 6736
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6736
Author:   gavin
Date:     2015-10-30 22:57:38 +0000 (Fri, 30 Oct 2015)
Log Message:
-----------
fixes for install-info.c

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-10-30 17:32:36 UTC (rev 6735)
+++ trunk/ChangeLog     2015-10-30 22:57:38 UTC (rev 6736)
@@ -1,5 +1,11 @@
 2015-10-30  Gavin Smith  <address@hidden>
 
+       * install-info/install-info.c (parse_input): Initialize 
+       missing_basename field of spec_entry structure.
+       (ensure_dirfile_exists): Don't call close on a negative value.
+
+2015-10-30  Gavin Smith  <address@hidden>
+
        * doc/texinfo.texi (@display, @table): Move advice about using 
        @table inside @display to @table node.
        (@small...): Move later in chapter.

Modified: trunk/install-info/install-info.c
===================================================================
--- trunk/install-info/install-info.c   2015-10-30 17:32:36 UTC (rev 6735)
+++ trunk/install-info/install-info.c   2015-10-30 22:57:38 UTC (rev 6736)
@@ -636,7 +636,6 @@
     {
       FILE *f;
       char *readerr = strerror (errno);
-      close (desc);
       f = fopen (dirfile, "w");
       if (f)
         {
@@ -1153,6 +1152,7 @@
                   next->text_len = lines[i].start - start_of_this_entry;
                   next->entry_sections = head;
                   next->entry_sections_tail = tail;
+                  next->missing_basename = 0;
                   next->next = *entries;
                   *entries = next;
                   n_entries++;




reply via email to

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