From 8b4d4869f5b391424c888fa7ab9f0d1508d137f7 Mon Sep 17 00:00:00 2001 From: Tim Retout Date: Tue, 1 Jan 2008 16:04:08 +0000 Subject: [PATCH] Remove an unnecessary fclose of the toc temporary file, which was breaking the --toc option. --- src/ChangeLog | 5 +++++ src/main.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index d87018e..e77065f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-01-01 Tim Retout + + * main.c (main) : Remove an unnecessary fclose of the toc + temporary file, which was breaking the --toc option. + 1999-09-17 Markku Rossi * main.c (handle_options): New option --footer to set the page diff --git a/src/main.c b/src/main.c index 90fe112..7fb75c3 100644 --- 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. */ -- 2.34.1