CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 06/10/05 23:07:28
Index: m4/m4.c
===================================================================
RCS file: /sources/m4/m4/m4/m4.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- m4/m4.c 18 Sep 2006 13:16:44 -0000 1.19
+++ m4/m4.c 5 Oct 2006 23:07:28 -0000 1.20
@@ -53,8 +53,8 @@
if (context->syntax)
m4_syntax_delete (context->syntax);
- if (context->debug_file)
- fclose (context->debug_file);
+ /* debug_file should have been reset to stderr, which is closed later. */
+ assert (context->debug_file == stderr);
obstack_free (&context->trace_messages, NULL);