diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-10-26 15:37:57 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-10-26 15:37:57 +0000 |
commit | af4ae74baef08805723f66253af6a65bbdac0727 (patch) | |
tree | 940871a929e24b1bf7c6c3cabdbc2b344e37352a /gcc/collect2.c | |
parent | 4401dd39c9a7433dc6a837e1689695af52fc40a4 (diff) | |
download | gcc-af4ae74baef08805723f66253af6a65bbdac0727.tar.gz |
(dump_file): Call fclose() for opened files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13033 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/collect2.c')
-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 cd6f8f43d39..452ac9943ef 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: |