Commit d85032e2 authored by Victor Stinner's avatar Victor Stinner

(Merge 3.3) Fix posix_chflags(): return_value was uninitialized when

follow_symlinks=False whereas the fchmodat() function is not avaialble.
parents 9e09c26e 45e90394
......@@ -2778,7 +2778,7 @@ posix_chflags(PyObject *self, PyObject *args, PyObject *kwargs)
unsigned long flags;
int follow_symlinks = 1;
int result;
PyObject *return_value;
PyObject *return_value = NULL;
static char *keywords[] = {"path", "flags", "follow_symlinks", NULL};
memset(&path, 0, sizeof(path));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment