Remove an unnecessary fclose of the toc temporary file, which was breaking the --toc option. - enscript - GNU Enscript
 (HTM) git clone git://thinkerwim.org/enscript.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 8b4d4869f5b391424c888fa7ab9f0d1508d137f7
 (DIR) parent e27cc7d5e36d9917220a41e161b513643d60e857
 (HTM) Author: Tim Retout <diocles@gnu.org>
       Date:   Tue,  1 Jan 2008 16:04:08 +0000
       
       Remove an unnecessary fclose of the toc temporary file, which was breaking the --toc option.
       
       Diffstat:
         M src/ChangeLog                       |       5 +++++
         M src/main.c                          |       3 ---
       
       2 files changed, 5 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/src/ChangeLog b/src/ChangeLog
       @@ -1,3 +1,8 @@
       +2008-01-01  Tim Retout  <diocles@gnu.org>
       +
       +        * main.c (main) <toc>: Remove an unnecessary fclose of the toc
       +        temporary file, which was breaking the --toc option.
       +
        1999-09-17  Markku Rossi  <mtr@amme.ssh.fi>
        
                * main.c (handle_options): New option --footer to set the page
 (DIR) diff --git a/src/main.c b/src/main.c
       @@ -1714,9 +1714,6 @@ name             width\theight\tllx\tlly\turx\tury\n\
                      process_file (_("Table of Contents"), &is, 1);
                      is_close (&is);
                    }
       -
       -          /* Clean up toc file. */
       -          fclose (toc_fp);
                }
        
              /* Give trailer a chance to dump itself. */