[61770] trunk/base/src/pextlib1.0/filemap.c

Joshua Root jmr at macports.org
Sun Dec 20 22:45:00 PST 2009


On 2009-12-21 17:31 , Ryan Schmidt wrote:
> 
> On Dec 21, 2009, at 00:21, jmr at macports.org wrote:
> 
>> Revision: 61770
>>          http://trac.macports.org/changeset/61770
>> Author:   jmr at macports.org
>> Date:     2009-12-20 22:21:07 -0800 (Sun, 20 Dec 2009)
>> Log Message:
>> -----------
>> fix fd leak (#22959)
> 
> I'm impressed you were able to find this! How'd you do that? :) And why does this change fix the problem?

The existing variable with the same name declared outside the loop is
what is closed later on.

- Josh


More information about the macports-dev mailing list