Message266106
Not a problem, just two unnecessary syscalls. Also, I think that many of those who pass a file descriptor to os.listdir don't need it afterwards, because after you fstat() a file descriptor (to discover that it points to a directory) and read the directory contents, there are few things you can use it for. |
|
Date |
User |
Action |
Args |
2016-05-22 20:45:47 | abacabadabacaba | set | recipients:
+ abacabadabacaba, serhiy.storchaka |
2016-05-22 20:45:47 | abacabadabacaba | set | messageid: <1463949947.19.0.00365609762991.issue27086@psf.upfronthosting.co.za> |
2016-05-22 20:45:47 | abacabadabacaba | link | issue27086 messages |
2016-05-22 20:45:47 | abacabadabacaba | create | |
|