[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
File descriptor leak in makeinfo/html.c (texinfo 4.8)
From: |
Matthias Kilian |
Subject: |
File descriptor leak in makeinfo/html.c (texinfo 4.8) |
Date: |
Fri, 11 Mar 2005 19:42:27 +0100 |
User-agent: |
Mutt/1.4.2i |
Hi,
I just got `too many open files' when running makeinfo on a file with
lots of includes. This patch should fix that:
--- makeinfo/html.c.orig Mon Dec 6 02:13:06 2004
+++ makeinfo/html.c Fri Mar 11 19:30:44 2005
@@ -167,6 +167,8 @@ process_css_file (char *filename)
lastchar = c;
}
+ fclose(f);
+
/* Reached the end of the file. We should not be still in a comment. */
if (state == comment_state)
warning (_("%s:%d: --css-file ended in comment"), filename, lineno);
Ciao,
Kili
- File descriptor leak in makeinfo/html.c (texinfo 4.8),
Matthias Kilian <=