Show More
@@ -278,12 +278,12 b' int entkind(struct dirent *ent)' | |||
|
278 | 278 | |
|
279 | 279 | static PyObject *makestat(const struct stat *st) |
|
280 | 280 | { |
|
281 |
|
|
|
281 | PyObject *stat; | |
|
282 | 282 | |
|
283 |
|
|
|
284 |
|
|
|
285 |
|
|
|
286 |
|
|
|
283 | stat = PyObject_CallObject((PyObject *)&listdir_stat_type, NULL); | |
|
284 | if (stat) | |
|
285 | memcpy(&((struct listdir_stat *)stat)->st, st, sizeof(*st)); | |
|
286 | return stat; | |
|
287 | 287 | } |
|
288 | 288 | |
|
289 | 289 | static PyObject *_listdir(char *path, int pathlen, int keepstat, char *skip) |
General Comments 0
You need to be logged in to leave comments.
Login now