Show More
@@ -343,7 +343,7 b' static PyObject *_listdir_stat(char *pat' | |||||
343 | #else |
|
343 | #else | |
344 | strncpy(fullpath + pathlen + 1, ent->d_name, |
|
344 | strncpy(fullpath + pathlen + 1, ent->d_name, | |
345 | PATH_MAX - pathlen); |
|
345 | PATH_MAX - pathlen); | |
346 | fullpath[PATH_MAX] = 0; |
|
346 | fullpath[PATH_MAX] = '\0'; | |
347 | err = lstat(fullpath, &st); |
|
347 | err = lstat(fullpath, &st); | |
348 | #endif |
|
348 | #endif | |
349 | if (err == -1) { |
|
349 | if (err == -1) { |
General Comments 0
You need to be logged in to leave comments.
Login now