Larry Hastings added the comment:

Patch attached.  I don't know how to make fdopendir fail, so I had to do it by 
inspection.

While I was in there, I ifdef'd out the variable that should only be used if 
fdopendir is available.

----------
keywords: +patch
stage: needs patch -> patch review
Added file: 
http://bugs.python.org/file30120/larry.listdir.fd.leakage.bug.1.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17899>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to