From: Nick Clifton Date: Wed, 16 Jun 2010 08:04:21 +0000 (+0000) Subject: * gmon_io.c (gmon_out_read): Remove double fclose of input file. X-Git-Tag: gdb_7_2-branchpoint~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81efa4eed00bc6af13b4fb7b4fb3dca5def20e10;p=thirdparty%2Fbinutils-gdb.git * gmon_io.c (gmon_out_read): Remove double fclose of input file. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 4370951fa84..347ac07f3e0 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,7 @@ +2010-06-15 Doug Semler + + * gmon_io.c (gmon_out_read): Remove double fclose of input file. + 2010-06-08 Nick Clifton * gprof.texi (Sampling Error): Note that call counts and basic diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c index 1b046d4ed5e..fbb89f50e72 100644 --- a/gprof/gmon_io.c +++ b/gprof/gmon_io.c @@ -551,8 +551,6 @@ gmon_out_read (const char *filename) cg_tally (from_pc, self_pc, count); } - fclose (ifp); - if (hz == HZ_WRONG) { /* How many ticks per second? If we can't tell, report