CVSROOT: /sources/m4 Module name: m4 Changes by: Eric Blake <ericb> 06/10/05 23:07:28
Index: src/main.c =================================================================== RCS file: /sources/m4/m4/src/main.c,v retrieving revision 1.92 retrieving revision 1.93 diff -u -b -r1.92 -r1.93 --- src/main.c 4 Oct 2006 03:57:01 -0000 1.92 +++ src/main.c 5 Oct 2006 23:07:28 -0000 1.93 @@ -21,6 +21,7 @@ #include "m4.h" #include "m4private.h" +#include "closeout.h" #include "getopt.h" #include "version-etc.h" #include "pathconf.h" @@ -276,6 +277,7 @@ /* Initialize gnulib error module. */ m4_set_program_name (argv[0]); + atexit (close_stdout); setlocale (LC_ALL, ""); #ifdef ENABLE_NLS
