[Python-checkins] r88113 - in python/branches/release27-maint: Misc/NEWS Modules/posixmodule.c
antoine.pitrou
python-checkins at python.org
Wed Jan 19 16:27:24 CET 2011
Author: antoine.pitrou
Date: Wed Jan 19 16:27:24 2011
New Revision: 88113
Log:
Merged revisions 88111 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88111 | antoine.pitrou | 2011-01-19 16:21:35 +0100 (mer., 19 janv. 2011) | 4 lines
Issue #10898: Allow compiling the posix module when the C library defines
a symbol named FSTAT.
........
Modified:
python/branches/release27-maint/ (props changed)
python/branches/release27-maint/Misc/NEWS
python/branches/release27-maint/Modules/posixmodule.c
Modified: python/branches/release27-maint/Misc/NEWS
==============================================================================
--- python/branches/release27-maint/Misc/NEWS (original)
+++ python/branches/release27-maint/Misc/NEWS Wed Jan 19 16:27:24 2011
@@ -35,6 +35,9 @@
Library
-------
+- Issue #10898: Allow compiling the posix module when the C library defines
+ a symbol named FSTAT.
+
- Issue #6075: IDLE on Mac OS X now works with both Carbon AquaTk and
Cocoa AquaTk.
Modified: python/branches/release27-maint/Modules/posixmodule.c
==============================================================================
--- python/branches/release27-maint/Modules/posixmodule.c (original)
+++ python/branches/release27-maint/Modules/posixmodule.c Wed Jan 19 16:27:24 2011
@@ -340,6 +340,8 @@
/* choose the appropriate stat and fstat functions and return structs */
#undef STAT
+#undef FSTAT
+#undef STRUCT_STAT
#if defined(MS_WIN64) || defined(MS_WINDOWS)
# define STAT win32_stat
# define FSTAT win32_fstat
More information about the Python-checkins
mailing list