diff options
author | Nick Clifton <nickc@redhat.com> | 2010-06-16 08:04:21 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2010-06-16 08:04:21 +0000 |
commit | 81efa4eed00bc6af13b4fb7b4fb3dca5def20e10 (patch) | |
tree | ca837019d235d79c7976bc0bf06ea3ba15f3a906 /gprof | |
parent | 59e6276b64b1a3b248d851e5a3f5acd63e346399 (diff) | |
download | gdb-81efa4eed00bc6af13b4fb7b4fb3dca5def20e10.zip gdb-81efa4eed00bc6af13b4fb7b4fb3dca5def20e10.tar.gz gdb-81efa4eed00bc6af13b4fb7b4fb3dca5def20e10.tar.bz2 |
* gmon_io.c (gmon_out_read): Remove double fclose of input file.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 4 | ||||
-rw-r--r-- | gprof/gmon_io.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 4370951..347ac07 100644 --- a/gprof/ChangeLog +++ b/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 diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c index 1b046d4..fbb89f5 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 |