Hi Laurence,

On Tue, Jun 25, 2013 at 11:14 AM, Laurence Tratt <lau...@tratt.net> wrote:
>> Shooting in the dark, but one possible reading of the man page shows
>> that when readdir() returns a non-null pointer, the value of errno
>> might be randomly modified.
>
> Yes, this is true and bit me in a different context just over a year ago:

According to these mails, the issue you've hit is different: what
occurs to errno if readdir() returns NULL.  This is indeed strange but
documented.  But what occurs to errno if readdir() does *not* return
NULL?  I thought that errno would not be modified in this case, but as
far as I know the Posix man page is silent on the subject, and it
might be the cause of Vasily's report.


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to