summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-10-19 20:36:17 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-10-19 20:36:17 (GMT)
commitebe83f9875a2e54bfadf62823f39be44118517aa (patch)
tree0731205abe9b6220354171fe6feff9c384fc1cdf /Modules
parente55013febe5a06f9d5e7c83e1e0b4207e78efb12 (diff)
downloadcpython-ebe83f9875a2e54bfadf62823f39be44118517aa.zip
cpython-ebe83f9875a2e54bfadf62823f39be44118517aa.tar.gz
cpython-ebe83f9875a2e54bfadf62823f39be44118517aa.tar.bz2
fix compile issue on windows. path is now a struct ptr
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 1d02e73..46e31cd 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
/*