[Python-checkins] r82854 - python/branches/release27-maint/Modules/posixmodule.c
stefan.krah
python-checkins at python.org
Tue Jul 13 21:40:00 CEST 2010
Author: stefan.krah
Date: Tue Jul 13 21:40:00 2010
New Revision: 82854
Log:
Remove PYOS_OS2 special cases from the Solaris/OpenBSD section.
Modified:
python/branches/release27-maint/Modules/posixmodule.c
Modified: python/branches/release27-maint/Modules/posixmodule.c
==============================================================================
--- python/branches/release27-maint/Modules/posixmodule.c (original)
+++ python/branches/release27-maint/Modules/posixmodule.c Tue Jul 13 21:40:00 2010
@@ -1966,11 +1966,7 @@
char *res;
Py_BEGIN_ALLOW_THREADS
-#if defined(PYOS_OS2) && defined(PYCC_GCC)
- res = _getcwd2(buf, sizeof buf);
-#else
- res = getcwd(buf, sizeof buf);
-#endif
+ res = getcwd(buf, sizeof buf);
Py_END_ALLOW_THREADS
if (res == NULL)
More information about the Python-checkins
mailing list