##// END OF EJS Templates
osutil: fix tab damage
Bryan O'Sullivan -
r18021:9b05b31b default
parent child Browse files
Show More
@@ -278,12 +278,12 b' int entkind(struct dirent *ent)'
278
278
279 static PyObject *makestat(const struct stat *st)
279 static PyObject *makestat(const struct stat *st)
280 {
280 {
281 PyObject *stat;
281 PyObject *stat;
282
282
283 stat = PyObject_CallObject((PyObject *)&listdir_stat_type, NULL);
283 stat = PyObject_CallObject((PyObject *)&listdir_stat_type, NULL);
284 if (stat)
284 if (stat)
285 memcpy(&((struct listdir_stat *)stat)->st, st, sizeof(*st));
285 memcpy(&((struct listdir_stat *)stat)->st, st, sizeof(*st));
286 return stat;
286 return stat;
287 }
287 }
288
288
289 static PyObject *_listdir(char *path, int pathlen, int keepstat, char *skip)
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