Commit 4adbc34a authored by Martin v. Löwis's avatar Martin v. Löwis

Issue #5943: Fix lchflags crash.

parent 25e218e3
......@@ -1981,7 +1981,7 @@ posix_lchflags(PyObject *self, PyObject *args)
unsigned long flags;
int res;
if (!PyArg_ParseTuple(args, "O&k:lchflags",
PyUnicode_FSConverter, &path, &flags))
PyUnicode_FSConverter, &opath, &flags))
return NULL;
path = bytes2str(opath, 1);
Py_BEGIN_ALLOW_THREADS
......
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