Message143393
> 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. |
|
Date |
User |
Action |
Args |
2011-09-02 10:13:53 | pitrou | set | recipients:
+ pitrou, vstinner, neologix, rosslagerwall, rpointel |
2011-09-02 10:13:52 | pitrou | link | issue12852 messages |
2011-09-02 10:13:52 | pitrou | create | |
|