From ebe83f9875a2e54bfadf62823f39be44118517aa Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sat, 19 Oct 2013 22:36:17 +0200 Subject: [PATCH] fix compile issue on windows. path is now a struct ptr --- Modules/posixmodule.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 1d02e73dfa..46e31cd25e 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 /* -- 2.50.0