Mercurial > hg
changeset 18021:9b05b31b413c
osutil: fix tab damage
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Fri, 30 Nov 2012 17:40:11 -0800 |
parents | ec02eef0b686 |
children | ddc0323db78b |
files | mercurial/osutil.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/osutil.c Fri Nov 30 15:56:09 2012 -0800 +++ b/mercurial/osutil.c Fri Nov 30 17:40:11 2012 -0800 @@ -278,12 +278,12 @@ static PyObject *makestat(const struct stat *st) { - PyObject *stat; + PyObject *stat; - stat = PyObject_CallObject((PyObject *)&listdir_stat_type, NULL); - if (stat) - memcpy(&((struct listdir_stat *)stat)->st, st, sizeof(*st)); - return stat; + stat = PyObject_CallObject((PyObject *)&listdir_stat_type, NULL); + if (stat) + memcpy(&((struct listdir_stat *)stat)->st, st, sizeof(*st)); + return stat; } static PyObject *_listdir(char *path, int pathlen, int keepstat, char *skip)