]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix compile issue on windows. path is now a struct ptr
authorChristian Heimes <christian@cheimes.de>
Sat, 19 Oct 2013 20:36:17 +0000 (22:36 +0200)
committerChristian Heimes <christian@cheimes.de>
Sat, 19 Oct 2013 20:36:17 +0000 (22:36 +0200)
Modules/posixmodule.c

index 1d02e73dfa5116920d2d2fa5fe286627d66aa202..46e31cd25eac9b91dcbcf253c9ee6f763878d449 100644 (file)
@@ -2651,10 +2651,10 @@ os_access_impl(PyObject *self, path_t *path, int mode, int dir_fd, int effective
 
 #ifdef MS_WINDOWS
     Py_BEGIN_ALLOW_THREADS
-    if (path.wide != NULL)
-        attr = GetFileAttributesW(path.wide);
+    if (path->wide != NULL)
+        attr = GetFileAttributesW(path->wide);
     else
-        attr = GetFileAttributesA(path.narrow);
+        attr = GetFileAttributesA(path->narrow);
     Py_END_ALLOW_THREADS
 
     /*