(Merge 3.3) Fix posix_chflags(): return_value was uninitialized when
follow_symlinks=False whereas the fchmodat() function is not avaialble.
This commit is contained in:
commit
d85032e25d
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue