http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49333
--- Comment #4 from Martin Ettl <ettl.martin at gmx dot de> 2011-06-09 00:41:41 UTC --- Thanks, i already filed a bug at cppchecks bugtracker about this issue: http://sourceforge.net/apps/trac/cppcheck/ticket/2830 Many thanks for your help and best regards Martin 2011/6/9 pinskia at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49333 > > --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-06-08 > 22:47:16 UTC --- > (In reply to comment #2) > > Oh the second hunk of the patch is very bad as it closes a file > descriptor that > > has an associated FILE to it. > > I should say the FILE is still open and used after the function returns. > I > think you need to add another rule about fdopen causing the fd to become > able > to close via fclose. > > -- > Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >