diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-10-26 11:37:57 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-10-26 11:37:57 -0400 |
commit | 1c84128d8900f4e059cd583e176ebcd055689faf (patch) | |
tree | 940871a929e24b1bf7c6c3cabdbc2b344e37352a | |
parent | be97d4755e1cece1f770aabb7251529aba1d66e8 (diff) | |
download | gcc-1c84128d8900f4e059cd583e176ebcd055689faf.zip gcc-1c84128d8900f4e059cd583e176ebcd055689faf.tar.gz gcc-1c84128d8900f4e059cd583e176ebcd055689faf.tar.bz2 |
(dump_file): Call fclose() for opened files.
From-SVN: r13033
-rw-r--r-- | gcc/collect2.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index cd6f8f4..452ac99 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1,7 +1,5 @@ -/* Collect static initialization info into data structures - that can be traversed by C++ initialization and finalization - routines. - +/* Collect static initialization info into data structures that can be + traversed by C++ initialization and finalization routines. Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. Contributed by Chris Smith (csmith@convex.com). Heavily modified by Michael Meissner (meissner@cygnus.com), @@ -551,6 +549,7 @@ dump_file (name) break; putc (c, stderr); } + fclose (stream); } /* Decide whether the given symbol is: |