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 pitrou
Recipients neologix, pitrou, rosslagerwall, rpointel, vstinner
Date 2011-09-02.10:13:52
SpamBayes Score 0.0025936428
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