[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.128,2.129
Guido van Rossum
python-dev@python.org
Thu, 30 Mar 2000 20:26:26 -0500 (EST)
- Previous message: [Python-checkins] CVS: python/dist/src/Python ceval.c,2.172,2.173
- Next message: [Python-checkins] CVS: python/dist/src/PCbuild mmap.dsp,1.1,1.2 pcbuild.dsw,1.9,1.10 python16.wse,1.3,1.4 winreg.dsp,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /projects/cvsroot/python/dist/src/Modules
In directory eric:/projects/python/develop/guido/src/Modules
Modified Files:
posixmodule.c
Log Message:
Sigh. On Windows, (mode_t)i fails. Assume that there's a prototype
in scope on systems where mode_t isn't the same size as int...
Index: posixmodule.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.128
retrieving revision 2.129
diff -C2 -r2.128 -r2.129
*** posixmodule.c 2000/03/31 00:48:21 2.128
--- posixmodule.c 2000/03/31 01:26:23 2.129
***************
*** 699,703 ****
return NULL;
Py_BEGIN_ALLOW_THREADS
! res = chmod(path, (mode_t)i);
Py_END_ALLOW_THREADS
if (res < 0)
--- 699,703 ----
return NULL;
Py_BEGIN_ALLOW_THREADS
! res = chmod(path, i);
Py_END_ALLOW_THREADS
if (res < 0)
- Previous message: [Python-checkins] CVS: python/dist/src/Python ceval.c,2.172,2.173
- Next message: [Python-checkins] CVS: python/dist/src/PCbuild mmap.dsp,1.1,1.2 pcbuild.dsw,1.9,1.10 python16.wse,1.3,1.4 winreg.dsp,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]