* src/m4.h (output_exit): New prototype.
commit4508dbfe9bba540f1a9be8ef5d620755f0fe964b
authorEric Blake <ebb9@byu.net>
Wed, 8 Nov 2006 05:08:26 +0000 (8 05:08 +0000)
committerEric Blake <ebb9@byu.net>
Fri, 21 Sep 2007 21:27:50 +0000 (21 15:27 -0600)
tree2e7ed57ed874e625256d67a8dbec4950010afdfc
parentefeeb8331d309510a572fa5237ae2c7c0d38c6b8
* src/m4.h (output_exit): New prototype.
* src/m4.c (main): Use it.
* src/output.c (cleanup_tmpfile): Close files before removing
directory.
(insert_diversion): Check for failure.
(output_exit): Avoid memory leak.
* doc/m4.texinfo (Diversions): Test this bug.
ChangeLog
doc/m4.texinfo
src/m4.c
src/m4.h
src/output.c