[PATCH] gprof/gmon_io.c closes input twice.

Doug Semler dougsemler@gmail.com
Tue Jun 15 20:46:00 GMT 2010


I'm having issues with my copyright disclaimer (see what happens when
you involve lawyers), however I submit this patch as obvious:

gprof/gmon_io.c now attempts to close gmon.out file twice for certain
file types --- this fixes it.

gprof/ChangeLog:

2010-06-15  Doug Semler  <dougsemler@gmail.com>

        * gmon_io.c (gmon_out_read): Remove double fclose of input file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch1.patch
Type: application/octet-stream
Size: 338 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100615/161ec13d/attachment.obj>


More information about the Binutils mailing list