[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.142,2.143
Fredrik Lundh
python-dev@python.org
Sat, 8 Jul 2000 15:48:56 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Modules mmapmodule.c,2.17,2.18
- Next message: [Python-checkins] CVS: python/dist/src/Include bitset.h,2.11,2.12 ceval.h,2.33,2.34 eval.h,2.12,2.13 import.h,2.24,2.25 intrcheck.h,2.7,2.8 marshal.h,2.8,2.9 node.h,2.15,2.16 parsetok.h,2.12,2.13 pydebug.h,2.13,2.14 pystate.h,2.11,2.12 structmember.h,2.14,2.15 traceback.h,2.16,2.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv30977/Modules
Modified Files:
posixmodule.c
Log Message:
this one's a bit risky, but I've spent some considerable time
staring at the diffs before checking this one in. let me know
asap if it breaks things on your platform.
-- ANSI-fying
(patch #100763 by Peter Schneider-Kamp, minus the
indentation changes and minus the changes the broke
the windows build)
Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.142
retrieving revision 2.143
diff -C2 -r2.142 -r2.143
*** posixmodule.c 2000/07/06 19:42:19 2.142
--- posixmodule.c 2000/07/08 22:48:53 2.143
***************
*** 138,170 ****
#else /* !HAVE_UNISTD_H */
#if defined(PYCC_VACPP)
! extern int mkdir Py_PROTO((char *));
#else
#if ( defined(__WATCOMC__) || defined(_MSC_VER) ) && !defined(__QNX__)
! extern int mkdir Py_PROTO((const char *));
#else
! extern int mkdir Py_PROTO((const char *, mode_t));
#endif
#endif
[...1650 lines suppressed...]
static PyObject *
! posix_abort(PyObject *self, PyObject *args)
{
if (!PyArg_ParseTuple(args, ":abort"))
***************
*** 4740,4747 ****
static int
! ins(d, symbol, value)
! PyObject* d;
! char* symbol;
! long value;
{
PyObject* v = PyInt_FromLong(value);
--- 4535,4539 ----
static int
! ins(PyObject *d, char *symbol, long value)
{
PyObject* v = PyInt_FromLong(value);
- Previous message: [Python-checkins] CVS: python/dist/src/Modules mmapmodule.c,2.17,2.18
- Next message: [Python-checkins] CVS: python/dist/src/Include bitset.h,2.11,2.12 ceval.h,2.33,2.34 eval.h,2.12,2.13 import.h,2.24,2.25 intrcheck.h,2.7,2.8 marshal.h,2.8,2.9 node.h,2.15,2.16 parsetok.h,2.12,2.13 pydebug.h,2.13,2.14 pystate.h,2.11,2.12 structmember.h,2.14,2.15 traceback.h,2.16,2.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]