[Python-checkins] cpython: fix compile issue on windows. path is now a struct ptr
christian.heimes
python-checkins at python.org
Sat Oct 19 22:36:25 CEST 2013
http://hg.python.org/cpython/rev/441737b6711b
changeset: 86494:441737b6711b
user: Christian Heimes <christian at cheimes.de>
date: Sat Oct 19 22:36:17 2013 +0200
summary:
fix compile issue on windows. path is now a struct ptr
files:
Modules/posixmodule.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -2651,10 +2651,10 @@
#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
/*
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list