Author pitrou
Recipients neologix, pitrou, rosslagerwall, rpointel, vstinner
Date 2011-09-02.10:13:52
SpamBayes Score 0.00259364
Marked as misclassified No
Message-id <1314958278.3600.0.camel@localhost.localdomain>
In-reply-to <1314941805.79.0.452688445055.issue12852@psf.upfronthosting.co.za>
Content
> And this command now works:
> 
> $ ./python -c 'import os; print(os.fdlistdir(os.open("/tmp", os.O_RDONLY)))'
> ['.X11-unix', '.ICE-unix', 'orbit-remi', '.X0-lock', 'dbus-WWfX2JhDtb']
> 
> Attached file patch-Modules_posixmodule_c is the patch to do this.

Thank you.
It would be nice if you could find out in which header file fdopendir()
is defined. A recursive grep in /usr/include (?) should do the trick, I
think.
History
Date User Action Args
2011-09-02 10:13:53pitrousetrecipients: + pitrou, vstinner, neologix, rosslagerwall, rpointel
2011-09-02 10:13:52pitroulinkissue12852 messages
2011-09-02 10:13:52pitroucreate