From 4adbc34aaf29cef494ab8a92acfa63546f5d2a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Tue, 5 May 2009 17:17:55 +0000 Subject: Issue #5943: Fix lchflags crash. --- Modules/posixmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 87ab2fa..2050d5a 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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 -- cgit v0.12