# HG changeset patch # User Bryan O'Sullivan # Date 1354326011 28800 # Node ID 9b05b31b413c55d750ca8be41330ff65fa9ed8c1 # Parent ec02eef0b6869c4e76e33fd3f9302fdeb758008f osutil: fix tab damage diff -r ec02eef0b686 -r 9b05b31b413c mercurial/osutil.c --- 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)