diff options
author | Christian Heimes <christian@cheimes.de> | 2013-10-19 20:36:17 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-10-19 20:36:17 (GMT) |
commit | ebe83f9875a2e54bfadf62823f39be44118517aa (patch) | |
tree | 0731205abe9b6220354171fe6feff9c384fc1cdf | |
parent | e55013febe5a06f9d5e7c83e1e0b4207e78efb12 (diff) | |
download | cpython-ebe83f9875a2e54bfadf62823f39be44118517aa.zip cpython-ebe83f9875a2e54bfadf62823f39be44118517aa.tar.gz cpython-ebe83f9875a2e54bfadf62823f39be44118517aa.tar.bz2 |
fix compile issue on windows. path is now a struct ptr
-rw-r--r-- | Modules/posixmodule.c | 6 |
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 /* |