From 1c84128d8900f4e059cd583e176ebcd055689faf Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 26 Oct 1996 11:37:57 -0400 Subject: [PATCH] (dump_file): Call fclose() for opened files. From-SVN: r13033 --- gcc/collect2.c | 7 +++---- 1 file 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: -- 2.30.2