texinfo-commits
[Top][All Lists]
Advanced

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

texinfo ChangeLog install-info/install-info.c


From: karl
Subject: texinfo ChangeLog install-info/install-info.c
Date: Sun, 06 Jan 2013 23:18:56 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     karl <karl>     13/01/06 23:18:56

Modified files:
        .              : ChangeLog 
        install-info   : install-info.c 

Log message:
        pre-.gz name not on heap

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/ChangeLog?cvsroot=texinfo&r1=1.1501&r2=1.1502
http://cvs.savannah.gnu.org/viewcvs/texinfo/install-info/install-info.c?cvsroot=texinfo&r1=1.22&r2=1.23

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.1501
retrieving revision 1.1502
diff -u -b -r1.1501 -r1.1502
--- ChangeLog   6 Jan 2013 19:09:11 -0000       1.1501
+++ ChangeLog   6 Jan 2013 23:18:56 -0000       1.1502
@@ -1,7 +1,9 @@
 2013-01-06  Karl Berry  <address@hidden>
 
-       * doc/texinfo.txi (Nodes): node names with @
-       throughout chapter.
+       * install-info/install-info.c (open_possibly_compressed_file):
+       free in .gz case is wrong.
+
+       * doc/texinfo.txi (Nodes): node names with @ throughout chapter.
 
        * doc/texinfo.txi (acronyn, Smallcaps): more about the problems of
        using them, and not recommending them.

Index: install-info/install-info.c
===================================================================
RCS file: /sources/texinfo/texinfo/install-info/install-info.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- install-info/install-info.c 5 Jan 2013 23:46:38 -0000       1.22
+++ install-info/install-info.c 6 Jan 2013 23:18:56 -0000       1.23
@@ -1,5 +1,5 @@
 /* install-info -- merge Info directory entries from an Info file.
-   $Id: install-info.c,v 1.22 2013/01/05 23:46:38 karl Exp $
+   $Id: install-info.c,v 1.23 2013/01/06 23:18:56 karl Exp $
 
    Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    2005, 2007, 2008, 2009, 2010, 2011, 2012, 2013
@@ -662,7 +662,8 @@
    If we do open it, return the actual name of the file opened in
    OPENED_FILENAME and the compress program to use to (de)compress it in
    COMPRESSION_PROGRAM.  The compression program is determined by the
-   magic number, not the filename.  */
+   
+   MAGIC number, not the filename.  */
 
 FILE *
 open_possibly_compressed_file (char *filename,
@@ -683,7 +684,6 @@
   f = fopen (*opened_filename, FOPEN_RBIN);
   if (!f)
     {
-      free (*opened_filename);
       *opened_filename = concat (filename, ".gz", "");
       f = fopen (*opened_filename, FOPEN_RBIN);
     }



reply via email to

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