This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author thouis
Recipients amaury.forgeotdarc, ned.deily, neologix, thouis
Date 2011-12-01.22:32:30
SpamBayes Score 0.0001335916
Marked as misclassified No
Message-id <1322778750.88.0.244059098468.issue13517@psf.upfronthosting.co.za>
In-reply-to
Content
Reading through many pages discussing readdir vs. readdir_r (many on security mailing lists, a large number referring to the page linked in the patch), I get the impression that most implementations are thread-safe as long as separate threads do not call readdir() using the same DIR pointer.

I believe there is some ambiguity in the POSIX specification as to whether this is the only way in which readdir() might be thread-unsafe.
History
Date User Action Args
2011-12-01 22:32:30thouissetrecipients: + thouis, amaury.forgeotdarc, ned.deily, neologix
2011-12-01 22:32:30thouissetmessageid: <1322778750.88.0.244059098468.issue13517@psf.upfronthosting.co.za>
2011-12-01 22:32:30thouislinkissue13517 messages
2011-12-01 22:32:30thouiscreate