[Python-checkins] CVS: python/dist/src/Python bltinmodule.c,2.243,2.244 importdl.h,2.16,2.17
Tim Peters
tim_one@users.sourceforge.net
Sun, 04 Nov 2001 18:46:01 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/PC/os2vacpp config.c,1.6,1.7 makefile,1.4,1.5 pyconfig.h,1.2,1.3 python.def,1.3,1.4
- Next message: [Python-checkins] CVS: python/dist/src/Misc NEWS,1.308,1.309
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv30873/python/Python
Modified Files:
bltinmodule.c importdl.h
Log Message:
SF patch 473749 compile under OS/2 VA C++, from Michael Muller.
Changes enabling Python to compile under OS/2 Visual Age C++.
Index: bltinmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.243
retrieving revision 2.244
diff -C2 -d -r2.243 -r2.244
*** bltinmodule.c 2001/10/29 22:25:45 2.243
--- bltinmodule.c 2001/11/05 02:45:59 2.244
***************
*** 568,572 ****
--- 568,576 ----
if (!stat(filename, &s)) {
if (S_ISDIR(s.st_mode))
+ #if defined(PYOS_OS2) && defined(PYCC_VACPP)
+ errno = EOS2ERR;
+ #else
errno = EISDIR;
+ #endif
else
exists = 1;
Index: importdl.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/importdl.h,v
retrieving revision 2.16
retrieving revision 2.17
diff -C2 -d -r2.16 -r2.17
*** importdl.h 2000/09/01 23:29:28 2.16
--- importdl.h 2001/11/05 02:45:59 2.17
***************
*** 39,42 ****
--- 39,43 ----
#else
#ifdef PYOS_OS2
+ #include <os2def.h>
typedef int (* APIENTRY dl_funcptr)();
#else
- Previous message: [Python-checkins] CVS: python/dist/src/PC/os2vacpp config.c,1.6,1.7 makefile,1.4,1.5 pyconfig.h,1.2,1.3 python.def,1.3,1.4
- Next message: [Python-checkins] CVS: python/dist/src/Misc NEWS,1.308,1.309
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]