From: Richard Kenner Date: Sat, 26 Oct 1996 15:37:57 +0000 (-0400) Subject: (dump_file): Call fclose() for opened files. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c84128d8900f4e059cd583e176ebcd055689faf;p=gcc.git (dump_file): Call fclose() for opened files. From-SVN: r13033 --- 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: