Show More
@@ -255,7 +255,8 b' static PyObject *listdir(PyObject *self,' | |||||
255 |
|
255 | |||
256 | #ifdef AT_SYMLINK_NOFOLLOW |
|
256 | #ifdef AT_SYMLINK_NOFOLLOW | |
257 | dfd = open(path, O_RDONLY); |
|
257 | dfd = open(path, O_RDONLY); | |
258 | dir = fdopendir(dfd); |
|
258 | if (dfd != -1) | |
|
259 | dir = fdopendir(dfd); | |||
259 | #else |
|
260 | #else | |
260 | dir = opendir(path); |
|
261 | dir = opendir(path); | |
261 | dfd = -1; |
|
262 | dfd = -1; |
General Comments 0
You need to be logged in to leave comments.
Login now