Browse Source

* gmon_io.c (gmon_out_read): Remove double fclose of input file.

gdb_7_2-branch
Nick Clifton 16 years ago
parent
commit
81efa4eed0
  1. 4
      gprof/ChangeLog
  2. 2
      gprof/gmon_io.c

4
gprof/ChangeLog

@ -1,3 +1,7 @@
2010-06-15 Doug Semler <dougsemler@gmail.com>
* gmon_io.c (gmon_out_read): Remove double fclose of input file.
2010-06-08 Nick Clifton <nickc@redhat.com>
* gprof.texi (Sampling Error): Note that call counts and basic

2
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

Loading…
Cancel
Save