# HG changeset patch # User Bryan O'Sullivan # Date 2012-12-01 01:40:11 # Node ID 9b05b31b413c55d750ca8be41330ff65fa9ed8c1 # Parent ec02eef0b6869c4e76e33fd3f9302fdeb758008f osutil: fix tab damage diff --git a/mercurial/osutil.c b/mercurial/osutil.c --- a/mercurial/osutil.c +++ b/mercurial/osutil.c @@ -278,12 +278,12 @@ int entkind(struct dirent *ent) 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)