Commit 1c84128d by Richard Kenner

(dump_file): Call fclose() for opened files.

From-SVN: r13033
parent be97d475
/* Collect static initialization info into data structures /* Collect static initialization info into data structures that can be
that can be traversed by C++ initialization and finalization traversed by C++ initialization and finalization routines.
routines.
Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
Contributed by Chris Smith (csmith@convex.com). Contributed by Chris Smith (csmith@convex.com).
Heavily modified by Michael Meissner (meissner@cygnus.com), Heavily modified by Michael Meissner (meissner@cygnus.com),
...@@ -551,6 +549,7 @@ dump_file (name) ...@@ -551,6 +549,7 @@ dump_file (name)
break; break;
putc (c, stderr); putc (c, stderr);
} }
fclose (stream);
} }
/* Decide whether the given symbol is: /* Decide whether the given symbol is:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment