Thouis (Ray) Jones <tho...@gmail.com> added the comment:

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.

----------

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

Reply via email to