From: Christian Heimes Date: Sat, 19 Oct 2013 20:36:17 +0000 (+0200) Subject: fix compile issue on windows. path is now a struct ptr X-Git-Tag: v3.4.0a4~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebe83f9875a2e54bfadf62823f39be44118517aa;p=thirdparty%2FPython%2Fcpython.git fix compile issue on windows. path is now a struct ptr --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 1d02e73dfa51..46e31cd25eac 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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 /*