[Python-checkins] python/dist/src/Modules arraymodule.c,2.78,2.79 audioop.c,1.48,1.49 binascii.c,2.36,2.37 cmathmodule.c,2.31,2.32 cPickle.c,2.91,2.92 cryptmodule.c,2.13,2.14 cStringIO.c,2.36,2.37 dbmmodule.c,2.31,2.32 dlmodule.c,2.22,2.23 errnomodule.c,2.17,2.18 fcntlmodule.c,2.35,2.36 flmodule.c,1.50,1.51 fpectlmodule.c,2.16,2.17 fpetestmodule.c,2.7,2.8 gdbmmodule.c,2.34,2.35 grpmodule.c,2.18,2.19 imageop.c,2.27,2.28 main.c,1.66,1.67 mathmodule.c,2.68,2.69 md5module.c,2.32,2.33 mpzmodule.c,2.44,2.45 operator.c,2.21,2.22 pcremodule.c,2.32,2.33 posixmodule.c,2.250,2.251 pwdmodule.c,1.34,1.35 python.c,2.6,2.7 readline.c,2.51,2.52 regexmodule.c,1.48,1.49 resource.c,2.26,2.27 rgbimgmodule.c,2.25,2.26 rotormodule.c,2.36,2.37 shamodule.c,2.20,2.21 signalmodule.c,2.70,2.71 socketmodule.c,1.238,1.239 stropmodule.c,2.89,2.90 structmodule.c,2.55,2.56 symtablemodule.c,1.5,1.6 syslogmodule.c,2.18,2.19 termios.c,2.35,2.36 threadmodule.c,2.51,2.52 timemodule.c,2.130,2.131 timingmodule.c,2.10,2.11 xreadlinesmodule.c,1.11,1.12 xxmodule.c,2.30,2.31 xxsubtype.c,2.16,2.17 _codecsmodule.c,2.12,2.13 _cursesmodule.c,2.65,2.66 _curses_panel.c,1.12,1.13 _localemodule.c,2.34,2.35 _ssl.c,1.7,1.8 _weakref.c,1.16,1.17
mhammond@users.sourceforge.net
mhammond@users.sourceforge.net
Thu, 01 Aug 2002 19:27:16 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv10555/Modules
Modified Files:
arraymodule.c audioop.c binascii.c cmathmodule.c cPickle.c
cryptmodule.c cStringIO.c dbmmodule.c dlmodule.c errnomodule.c
fcntlmodule.c flmodule.c fpectlmodule.c fpetestmodule.c
gdbmmodule.c grpmodule.c imageop.c main.c mathmodule.c
md5module.c mpzmodule.c operator.c pcremodule.c posixmodule.c
pwdmodule.c python.c readline.c regexmodule.c resource.c
rgbimgmodule.c rotormodule.c shamodule.c signalmodule.c
socketmodule.c stropmodule.c structmodule.c symtablemodule.c
syslogmodule.c termios.c threadmodule.c timemodule.c
timingmodule.c xreadlinesmodule.c xxmodule.c xxsubtype.c
_codecsmodule.c _cursesmodule.c _curses_panel.c
_localemodule.c _ssl.c _weakref.c
Log Message:
Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
for Py_Main().
Thanks to Kalle Svensson and Skip Montanaro for the patches.
Index: arraymodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/arraymodule.c,v
retrieving revision 2.78
retrieving revision 2.79
diff -C2 -d -r2.78 -r2.79
*** arraymodule.c 29 Jul 2002 14:35:03 -0000 2.78
--- arraymodule.c 2 Aug 2002 02:27:12 -0000 2.79
***************
*** 1909,1913 ****
! DL_EXPORT(void)
initarray(void)
{
--- 1909,1913 ----
! PyMODINIT_FUNC
initarray(void)
{
Index: audioop.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/audioop.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** audioop.c 17 Jan 2002 23:15:58 -0000 1.48
--- audioop.c 2 Aug 2002 02:27:13 -0000 1.49
***************
*** 1370,1374 ****
};
! DL_EXPORT(void)
initaudioop(void)
{
--- 1370,1374 ----
};
! PyMODINIT_FUNC
initaudioop(void)
{
Index: binascii.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/binascii.c,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -d -r2.36 -r2.37
*** binascii.c 2 Jul 2002 22:24:50 -0000 2.36
--- binascii.c 2 Aug 2002 02:27:13 -0000 2.37
***************
*** 1314,1318 ****
PyDoc_STRVAR(doc_binascii, "Conversion between binary data and ASCII");
! DL_EXPORT(void)
initbinascii(void)
{
--- 1314,1318 ----
PyDoc_STRVAR(doc_binascii, "Conversion between binary data and ASCII");
! PyMODINIT_FUNC
initbinascii(void)
{
Index: cmathmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cmathmodule.c,v
retrieving revision 2.31
retrieving revision 2.32
diff -C2 -d -r2.31 -r2.32
*** cmathmodule.c 17 Jul 2002 16:30:36 -0000 2.31
--- cmathmodule.c 2 Aug 2002 02:27:13 -0000 2.32
***************
*** 392,396 ****
};
! DL_EXPORT(void)
initcmath(void)
{
--- 392,396 ----
};
! PyMODINIT_FUNC
initcmath(void)
{
Index: cPickle.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cPickle.c,v
retrieving revision 2.91
retrieving revision 2.92
diff -C2 -d -r2.91 -r2.92
*** cPickle.c 18 Jul 2002 20:58:57 -0000 2.91
--- cPickle.c 2 Aug 2002 02:27:13 -0000 2.92
***************
*** 4790,4797 ****
}
! #ifndef DL_EXPORT /* declarations for DLL import/export */
! #define DL_EXPORT(RTYPE) RTYPE
#endif
! DL_EXPORT(void)
initcPickle(void)
{
--- 4790,4797 ----
}
! #ifndef PyMODINIT_FUNC /* declarations for DLL import/export */
! #define PyMODINIT_FUNC void
#endif
! PyMODINIT_FUNC
initcPickle(void)
{
Index: cryptmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cryptmodule.c,v
retrieving revision 2.13
retrieving revision 2.14
diff -C2 -d -r2.13 -r2.14
*** cryptmodule.c 13 Jun 2002 20:32:49 -0000 2.13
--- cryptmodule.c 2 Aug 2002 02:27:13 -0000 2.14
***************
*** 38,42 ****
};
! DL_EXPORT(void)
initcrypt(void)
{
--- 38,42 ----
};
! PyMODINIT_FUNC
initcrypt(void)
{
Index: cStringIO.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cStringIO.c,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -d -r2.36 -r2.37
*** cStringIO.c 13 Jun 2002 20:32:48 -0000 2.36
--- cStringIO.c 2 Aug 2002 02:27:13 -0000 2.37
***************
*** 702,709 ****
};
! #ifndef DL_EXPORT /* declarations for DLL import/export */
! #define DL_EXPORT(RTYPE) RTYPE
#endif
! DL_EXPORT(void)
initcStringIO(void) {
PyObject *m, *d, *v;
--- 702,709 ----
};
! #ifndef PyMODINIT_FUNC /* declarations for DLL import/export */
! #define PyMODINIT_FUNC void
#endif
! PyMODINIT_FUNC
initcStringIO(void) {
PyObject *m, *d, *v;
Index: dbmmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/dbmmodule.c,v
retrieving revision 2.31
retrieving revision 2.32
diff -C2 -d -r2.31 -r2.32
*** dbmmodule.c 17 Jul 2002 16:30:36 -0000 2.31
--- dbmmodule.c 2 Aug 2002 02:27:13 -0000 2.32
***************
*** 340,344 ****
};
! DL_EXPORT(void)
initdbm(void) {
PyObject *m, *d, *s;
--- 340,344 ----
};
! PyMODINIT_FUNC
initdbm(void) {
PyObject *m, *d, *s;
Index: dlmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/dlmodule.c,v
retrieving revision 2.22
retrieving revision 2.23
diff -C2 -d -r2.22 -r2.23
*** dlmodule.c 17 Jul 2002 16:30:36 -0000 2.22
--- dlmodule.c 2 Aug 2002 02:27:13 -0000 2.23
***************
*** 210,214 ****
}
! DL_EXPORT(void)
initdl(void)
{
--- 210,214 ----
}
! PyMODINIT_FUNC
initdl(void)
{
Index: errnomodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/errnomodule.c,v
retrieving revision 2.17
retrieving revision 2.18
diff -C2 -d -r2.17 -r2.18
*** errnomodule.c 13 Jun 2002 20:32:49 -0000 2.17
--- errnomodule.c 2 Aug 2002 02:27:13 -0000 2.18
***************
*** 58,62 ****
e.g. os.strerror(2) could return 'No such file or directory'.");
! DL_EXPORT(void)
initerrno(void)
{
--- 58,62 ----
e.g. os.strerror(2) could return 'No such file or directory'.");
! PyMODINIT_FUNC
initerrno(void)
{
Index: fcntlmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/fcntlmodule.c,v
retrieving revision 2.35
retrieving revision 2.36
diff -C2 -d -r2.35 -r2.36
*** fcntlmodule.c 13 Jun 2002 20:32:49 -0000 2.35
--- fcntlmodule.c 2 Aug 2002 02:27:13 -0000 2.36
***************
*** 463,467 ****
}
! DL_EXPORT(void)
initfcntl(void)
{
--- 463,467 ----
}
! PyMODINIT_FUNC
initfcntl(void)
{
Index: flmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/flmodule.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** flmodule.c 17 Jul 2002 16:30:36 -0000 1.50
--- flmodule.c 2 Aug 2002 02:27:13 -0000 1.51
***************
*** 2127,2131 ****
};
! DL_EXPORT(void)
initfl(void)
{
--- 2127,2131 ----
};
! PyMODINIT_FUNC
initfl(void)
{
Index: fpectlmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/fpectlmodule.c,v
retrieving revision 2.16
retrieving revision 2.17
diff -C2 -d -r2.16 -r2.17
*** fpectlmodule.c 1 Feb 2002 15:46:29 -0000 2.16
--- fpectlmodule.c 2 Aug 2002 02:27:13 -0000 2.17
***************
*** 87,91 ****
static PyObject *fpe_error;
! DL_EXPORT(void) initfpectl(void);
static PyObject *turnon_sigfpe (PyObject *self,PyObject *args);
static PyObject *turnoff_sigfpe (PyObject *self,PyObject *args);
--- 87,91 ----
static PyObject *fpe_error;
! PyMODINIT_FUNC initfpectl(void);
static PyObject *turnon_sigfpe (PyObject *self,PyObject *args);
static PyObject *turnoff_sigfpe (PyObject *self,PyObject *args);
***************
*** 250,254 ****
}
! DL_EXPORT(void) initfpectl(void)
{
PyObject *m, *d;
--- 250,254 ----
}
! PyMODINIT_FUNC initfpectl(void)
{
PyObject *m, *d;
Index: fpetestmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/fpetestmodule.c,v
retrieving revision 2.7
retrieving revision 2.8
diff -C2 -d -r2.7 -r2.8
*** fpetestmodule.c 17 Jan 2002 23:15:58 -0000 2.7
--- fpetestmodule.c 2 Aug 2002 02:27:13 -0000 2.8
***************
*** 45,49 ****
static PyObject *fpe_error;
! DL_EXPORT(void) initfpetest(void);
static PyObject *test(PyObject *self,PyObject *args);
static double db0(double);
--- 45,49 ----
static PyObject *fpe_error;
! PyMODINIT_FUNC initfpetest(void);
static PyObject *test(PyObject *self,PyObject *args);
static double db0(double);
***************
*** 173,177 ****
}
! DL_EXPORT(void) initfpetest(void)
{
PyObject *m, *d;
--- 173,177 ----
}
! PyMODINIT_FUNC initfpetest(void)
{
PyObject *m, *d;
Index: gdbmmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/gdbmmodule.c,v
retrieving revision 2.34
retrieving revision 2.35
diff -C2 -d -r2.34 -r2.35
*** gdbmmodule.c 17 Jul 2002 16:30:36 -0000 2.34
--- gdbmmodule.c 2 Aug 2002 02:27:13 -0000 2.35
***************
*** 505,509 ****
};
! DL_EXPORT(void)
initgdbm(void) {
PyObject *m, *d, *s;
--- 505,509 ----
};
! PyMODINIT_FUNC
initgdbm(void) {
PyObject *m, *d, *s;
Index: grpmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/grpmodule.c,v
retrieving revision 2.18
retrieving revision 2.19
diff -C2 -d -r2.18 -r2.19
*** grpmodule.c 13 Jun 2002 20:32:49 -0000 2.18
--- grpmodule.c 2 Aug 2002 02:27:13 -0000 2.19
***************
*** 157,161 ****
! DL_EXPORT(void)
initgrp(void)
{
--- 157,161 ----
! PyMODINIT_FUNC
initgrp(void)
{
Index: imageop.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/imageop.c,v
retrieving revision 2.27
retrieving revision 2.28
diff -C2 -d -r2.27 -r2.28
*** imageop.c 2 Apr 2002 18:26:33 -0000 2.27
--- imageop.c 2 Aug 2002 02:27:13 -0000 2.28
***************
*** 697,701 ****
! DL_EXPORT(void)
initimageop(void)
{
--- 697,701 ----
! PyMODINIT_FUNC
initimageop(void)
{
Index: main.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/main.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** main.c 28 Jul 2002 13:53:05 -0000 1.66
--- main.c 2 Aug 2002 02:27:13 -0000 1.67
***************
*** 106,110 ****
/* Main program */
! DL_EXPORT(int)
Py_Main(int argc, char **argv)
{
--- 106,110 ----
/* Main program */
! int
Py_Main(int argc, char **argv)
{
Index: mathmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mathmodule.c,v
retrieving revision 2.68
retrieving revision 2.69
diff -C2 -d -r2.68 -r2.69
*** mathmodule.c 13 Jun 2002 20:32:50 -0000 2.68
--- mathmodule.c 2 Aug 2002 02:27:13 -0000 2.69
***************
*** 335,339 ****
"mathematical functions defined by the C standard.");
! DL_EXPORT(void)
initmath(void)
{
--- 335,339 ----
"mathematical functions defined by the C standard.");
! PyMODINIT_FUNC
initmath(void)
{
Index: md5module.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/md5module.c,v
retrieving revision 2.32
retrieving revision 2.33
diff -C2 -d -r2.32 -r2.33
*** md5module.c 17 Jul 2002 16:49:03 -0000 2.32
--- md5module.c 2 Aug 2002 02:27:13 -0000 2.33
***************
*** 254,258 ****
/* Initialize this module. */
! DL_EXPORT(void)
initmd5(void)
{
--- 254,258 ----
/* Initialize this module. */
! PyMODINIT_FUNC
initmd5(void)
{
Index: mpzmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mpzmodule.c,v
retrieving revision 2.44
retrieving revision 2.45
diff -C2 -d -r2.44 -r2.45
*** mpzmodule.c 17 Jul 2002 16:30:37 -0000 2.44
--- mpzmodule.c 2 Aug 2002 02:27:13 -0000 2.45
***************
*** 1645,1649 ****
/* Initialize this module. */
! DL_EXPORT(void)
initmpz(void)
{
--- 1645,1649 ----
/* Initialize this module. */
! PyMODINIT_FUNC
initmpz(void)
{
Index: operator.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/operator.c,v
retrieving revision 2.21
retrieving revision 2.22
diff -C2 -d -r2.21 -r2.22
*** operator.c 13 Jun 2002 20:32:50 -0000 2.21
--- operator.c 2 Aug 2002 02:27:13 -0000 2.22
***************
*** 220,224 ****
/* Initialization function for the module (*must* be called initoperator) */
! DL_EXPORT(void)
initoperator(void)
{
--- 220,224 ----
/* Initialization function for the module (*must* be called initoperator) */
! PyMODINIT_FUNC
initoperator(void)
{
Index: pcremodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pcremodule.c,v
retrieving revision 2.32
retrieving revision 2.33
diff -C2 -d -r2.32 -r2.33
*** pcremodule.c 17 Jul 2002 16:30:37 -0000 2.32
--- pcremodule.c 2 Aug 2002 02:27:13 -0000 2.33
***************
*** 611,615 ****
/* Initialization function for the module (*must* be called initpcre) */
! DL_EXPORT(void)
initpcre(void)
{
--- 611,615 ----
/* Initialization function for the module (*must* be called initpcre) */
! PyMODINIT_FUNC
initpcre(void)
{
Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.250
retrieving revision 2.251
diff -C2 -d -r2.250 -r2.251
*** posixmodule.c 1 Aug 2002 21:57:49 -0000 2.250
--- posixmodule.c 2 Aug 2002 02:27:13 -0000 2.251
***************
*** 3212,3215 ****
--- 3212,3216 ----
PROCESS_INFORMATION piProcInfo;
STARTUPINFO siStartInfo;
+ DWORD dwProcessFlags = 0; /* no NEW_CONSOLE by default for Ctrl+C handling */
char *s1,*s2, *s3 = " /c ";
const char *szConsoleSpawn = "w9xpopen.exe";
***************
*** 3304,3307 ****
--- 3305,3318 ----
s3,
cmdstring);
+ /* Not passing CREATE_NEW_CONSOLE has been known to
+ cause random failures on win9x. Specifically a
+ dialog:
+ "Your program accessed mem currently in use at xxx"
+ and a hopeful warning about the stability of your
+ system.
+ Cost is Ctrl+C wont kill children, but anyone
+ who cares can have a go!
+ */
+ dwProcessFlags |= CREATE_NEW_CONSOLE;
}
}
***************
*** 3329,3333 ****
NULL,
TRUE,
! 0, /* no new console so Ctrl+C kills child too */
NULL,
NULL,
--- 3340,3344 ----
NULL,
TRUE,
! dwProcessFlags,
NULL,
NULL,
***************
*** 6747,6751 ****
#endif
! DL_EXPORT(void)
INITFUNC(void)
{
--- 6758,6762 ----
#endif
! PyMODINIT_FUNC
INITFUNC(void)
{
Index: pwdmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pwdmodule.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** pwdmodule.c 13 Jun 2002 20:32:51 -0000 1.34
--- pwdmodule.c 2 Aug 2002 02:27:13 -0000 1.35
***************
*** 158,162 ****
};
! DL_EXPORT(void)
initpwd(void)
{
--- 158,162 ----
};
! PyMODINIT_FUNC
initpwd(void)
{
Index: python.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/python.c,v
retrieving revision 2.6
retrieving revision 2.7
diff -C2 -d -r2.6 -r2.7
*** python.c 22 Jul 2000 23:57:55 -0000 2.6
--- python.c 2 Aug 2002 02:27:13 -0000 2.7
***************
*** 3,8 ****
#include "Python.h"
- extern DL_EXPORT(int) Py_Main(int, char **);
-
int
main(int argc, char **argv)
--- 3,6 ----
Index: readline.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/readline.c,v
retrieving revision 2.51
retrieving revision 2.52
diff -C2 -d -r2.51 -r2.52
*** readline.c 13 Jun 2002 20:32:52 -0000 2.51
--- readline.c 2 Aug 2002 02:27:13 -0000 2.52
***************
*** 653,657 ****
"Importing this module enables command line editing using GNU readline.");
! DL_EXPORT(void)
initreadline(void)
{
--- 653,657 ----
"Importing this module enables command line editing using GNU readline.");
! PyMODINIT_FUNC
initreadline(void)
{
Index: regexmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/regexmodule.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** regexmodule.c 27 Apr 2002 18:44:31 -0000 1.48
--- regexmodule.c 2 Aug 2002 02:27:13 -0000 1.49
***************
*** 643,647 ****
};
! DL_EXPORT(void)
initregex(void)
{
--- 643,647 ----
};
! PyMODINIT_FUNC
initregex(void)
{
Index: resource.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/resource.c,v
retrieving revision 2.26
retrieving revision 2.27
diff -C2 -d -r2.26 -r2.27
*** resource.c 13 Jun 2002 20:32:52 -0000 2.26
--- resource.c 2 Aug 2002 02:27:13 -0000 2.27
***************
*** 211,215 ****
/* Module initialization */
! DL_EXPORT(void)
initresource(void)
{
--- 211,215 ----
/* Module initialization */
! PyMODINIT_FUNC
initresource(void)
{
Index: rgbimgmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/rgbimgmodule.c,v
retrieving revision 2.25
retrieving revision 2.26
diff -C2 -d -r2.25 -r2.26
*** rgbimgmodule.c 31 Mar 2002 15:27:00 -0000 2.25
--- rgbimgmodule.c 2 Aug 2002 02:27:13 -0000 2.26
***************
*** 752,756 ****
! DL_EXPORT(void)
initrgbimg(void)
{
--- 752,756 ----
! PyMODINIT_FUNC
initrgbimg(void)
{
Index: rotormodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/rotormodule.c,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -d -r2.36 -r2.37
*** rotormodule.c 17 Jul 2002 16:49:03 -0000 2.36
--- rotormodule.c 2 Aug 2002 02:27:13 -0000 2.37
***************
*** 616,620 ****
! DL_EXPORT(void)
initrotor(void)
{
--- 616,620 ----
! PyMODINIT_FUNC
initrotor(void)
{
Index: shamodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/shamodule.c,v
retrieving revision 2.20
retrieving revision 2.21
diff -C2 -d -r2.20 -r2.21
*** shamodule.c 17 Jul 2002 16:30:37 -0000 2.20
--- shamodule.c 2 Aug 2002 02:27:13 -0000 2.21
***************
*** 526,530 ****
#define insint(n,v) { PyModule_AddIntConstant(m,n,v); }
! DL_EXPORT(void)
initsha(void)
{
--- 526,530 ----
#define insint(n,v) { PyModule_AddIntConstant(m,n,v); }
! PyMODINIT_FUNC
initsha(void)
{
Index: signalmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/signalmodule.c,v
retrieving revision 2.70
retrieving revision 2.71
diff -C2 -d -r2.70 -r2.71
*** signalmodule.c 30 Jun 2002 15:26:09 -0000 2.70
--- signalmodule.c 2 Aug 2002 02:27:13 -0000 2.71
***************
*** 470,474 ****
the first is the signal number, the second is the interrupted stack frame.");
! DL_EXPORT(void)
initsignal(void)
{
--- 470,474 ----
the first is the signal number, the second is the interrupted stack frame.");
! PyMODINIT_FUNC
initsignal(void)
{
Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.238
retrieving revision 1.239
diff -C2 -d -r1.238 -r1.239
*** socketmodule.c 28 Jul 2002 16:10:31 -0000 1.238
--- socketmodule.c 2 Aug 2002 02:27:13 -0000 1.239
***************
*** 3009,3013 ****
for documentation.");
! DL_EXPORT(void)
init_socket(void)
{
--- 3009,3013 ----
for documentation.");
! PyMODINIT_FUNC
init_socket(void)
{
Index: stropmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/stropmodule.c,v
retrieving revision 2.89
retrieving revision 2.90
diff -C2 -d -r2.89 -r2.90
*** stropmodule.c 13 Jun 2002 20:32:53 -0000 2.89
--- stropmodule.c 2 Aug 2002 02:27:13 -0000 2.90
***************
*** 1204,1208 ****
! DL_EXPORT(void)
initstrop(void)
{
--- 1204,1208 ----
! PyMODINIT_FUNC
initstrop(void)
{
Index: structmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/structmodule.c,v
retrieving revision 2.55
retrieving revision 2.56
diff -C2 -d -r2.55 -r2.56
*** structmodule.c 13 Jun 2002 20:32:53 -0000 2.55
--- structmodule.c 2 Aug 2002 02:27:13 -0000 2.56
***************
*** 1500,1504 ****
/* Module initialization */
! DL_EXPORT(void)
initstruct(void)
{
--- 1500,1504 ----
/* Module initialization */
! PyMODINIT_FUNC
initstruct(void)
{
Index: symtablemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/symtablemodule.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** symtablemodule.c 6 Dec 2001 14:34:58 -0000 1.5
--- symtablemodule.c 2 Aug 2002 02:27:13 -0000 1.6
***************
*** 44,48 ****
};
! DL_EXPORT(void)
init_symtable(void)
{
--- 44,48 ----
};
! PyMODINIT_FUNC
init_symtable(void)
{
Index: syslogmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/syslogmodule.c,v
retrieving revision 2.18
retrieving revision 2.19
diff -C2 -d -r2.18 -r2.19
*** syslogmodule.c 1 Apr 2002 14:53:37 -0000 2.18
--- syslogmodule.c 2 Aug 2002 02:27:13 -0000 2.19
***************
*** 156,160 ****
/* Initialization function for the module */
! DL_EXPORT(void)
initsyslog(void)
{
--- 156,160 ----
/* Initialization function for the module */
! PyMODINIT_FUNC
initsyslog(void)
{
Index: termios.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/termios.c,v
retrieving revision 2.35
retrieving revision 2.36
diff -C2 -d -r2.35 -r2.36
*** termios.c 13 Jun 2002 20:32:53 -0000 2.35
--- termios.c 2 Aug 2002 02:27:13 -0000 2.36
***************
*** 893,897 ****
! DL_EXPORT(void)
PyInit_termios(void)
{
--- 893,897 ----
! PyMODINIT_FUNC
PyInit_termios(void)
{
Index: threadmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/threadmodule.c,v
retrieving revision 2.51
retrieving revision 2.52
diff -C2 -d -r2.51 -r2.52
*** threadmodule.c 17 Jul 2002 16:30:37 -0000 2.51
--- threadmodule.c 2 Aug 2002 02:27:13 -0000 2.52
***************
*** 361,365 ****
will block until another thread unlocks it. Deadlocks may ensue.");
! DL_EXPORT(void)
initthread(void)
{
--- 361,365 ----
will block until another thread unlocks it. Deadlocks may ensue.");
! PyMODINIT_FUNC
initthread(void)
{
Index: timemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/timemodule.c,v
retrieving revision 2.130
retrieving revision 2.131
diff -C2 -d -r2.130 -r2.131
*** timemodule.c 19 Jul 2002 17:06:47 -0000 2.130
--- timemodule.c 2 Aug 2002 02:27:13 -0000 2.131
***************
*** 621,625 ****
! DL_EXPORT(void)
inittime(void)
{
--- 621,625 ----
! PyMODINIT_FUNC
inittime(void)
{
Index: timingmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/timingmodule.c,v
retrieving revision 2.10
retrieving revision 2.11
diff -C2 -d -r2.10 -r2.11
*** timingmodule.c 31 Mar 2002 14:57:24 -0000 2.10
--- timingmodule.c 2 Aug 2002 02:27:13 -0000 2.11
***************
*** 53,57 ****
! DL_EXPORT(void) inittiming(void)
{
(void)Py_InitModule("timing", timing_methods);
--- 53,57 ----
! PyMODINIT_FUNC inittiming(void)
{
(void)Py_InitModule("timing", timing_methods);
Index: xreadlinesmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/xreadlinesmodule.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** xreadlinesmodule.c 17 Jul 2002 16:30:37 -0000 1.11
--- xreadlinesmodule.c 2 Aug 2002 02:27:13 -0000 1.12
***************
*** 169,173 ****
};
! DL_EXPORT(void)
initxreadlines(void)
{
--- 169,173 ----
};
! PyMODINIT_FUNC
initxreadlines(void)
{
Index: xxmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/xxmodule.c,v
retrieving revision 2.30
retrieving revision 2.31
diff -C2 -d -r2.30 -r2.31
*** xxmodule.c 17 Jul 2002 16:49:03 -0000 2.30
--- xxmodule.c 2 Aug 2002 02:27:13 -0000 2.31
***************
*** 219,223 ****
/* Initialization function for the module (*must* be called initxx) */
! DL_EXPORT(void)
initxx(void)
{
--- 219,223 ----
/* Initialization function for the module (*must* be called initxx) */
! PyMODINIT_FUNC
initxx(void)
{
Index: xxsubtype.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/xxsubtype.c,v
retrieving revision 2.16
retrieving revision 2.17
diff -C2 -d -r2.16 -r2.17
*** xxsubtype.c 17 Jul 2002 16:30:37 -0000 2.16
--- xxsubtype.c 2 Aug 2002 02:27:13 -0000 2.17
***************
*** 264,268 ****
};
! DL_EXPORT(void)
initxxsubtype(void)
{
--- 264,268 ----
};
! PyMODINIT_FUNC
initxxsubtype(void)
{
Index: _codecsmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_codecsmodule.c,v
retrieving revision 2.12
retrieving revision 2.13
diff -C2 -d -r2.12 -r2.13
*** _codecsmodule.c 30 Jun 2002 15:26:09 -0000 2.12
--- _codecsmodule.c 2 Aug 2002 02:27:13 -0000 2.13
***************
*** 704,708 ****
};
! DL_EXPORT(void)
init_codecs(void)
{
--- 704,708 ----
};
! PyMODINIT_FUNC
init_codecs(void)
{
Index: _cursesmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_cursesmodule.c,v
retrieving revision 2.65
retrieving revision 2.66
diff -C2 -d -r2.65 -r2.66
*** _cursesmodule.c 30 Jan 2002 15:39:28 -0000 2.65
--- _cursesmodule.c 2 Aug 2002 02:27:13 -0000 2.66
***************
*** 2475,2479 ****
/* Initialization function for the module */
! DL_EXPORT(void)
init_curses(void)
{
--- 2475,2479 ----
/* Initialization function for the module */
! PyMODINIT_FUNC
init_curses(void)
{
Index: _curses_panel.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_curses_panel.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** _curses_panel.c 31 Mar 2002 14:55:17 -0000 1.12
--- _curses_panel.c 2 Aug 2002 02:27:13 -0000 1.13
***************
*** 446,450 ****
/* Initialization function for the module */
! DL_EXPORT(void)
init_curses_panel(void)
{
--- 446,450 ----
/* Initialization function for the module */
! PyMODINIT_FUNC
init_curses_panel(void)
{
Index: _localemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_localemodule.c,v
retrieving revision 2.34
retrieving revision 2.35
diff -C2 -d -r2.34 -r2.35
*** _localemodule.c 14 Jul 2002 22:14:18 -0000 2.34
--- _localemodule.c 2 Aug 2002 02:27:13 -0000 2.35
***************
*** 650,654 ****
};
! DL_EXPORT(void)
init_locale(void)
{
--- 650,654 ----
};
! PyMODINIT_FUNC
init_locale(void)
{
Index: _ssl.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_ssl.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** _ssl.c 28 Jul 2002 09:57:45 -0000 1.7
--- _ssl.c 2 Aug 2002 02:27:13 -0000 1.8
***************
*** 474,478 ****
for documentation.");
! DL_EXPORT(void)
init_ssl(void)
{
--- 474,478 ----
for documentation.");
! PyMODINIT_FUNC
init_ssl(void)
{
Index: _weakref.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_weakref.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** _weakref.c 13 Jun 2002 20:32:47 -0000 1.16
--- _weakref.c 2 Aug 2002 02:27:13 -0000 1.17
***************
*** 110,114 ****
! DL_EXPORT(void)
init_weakref(void)
{
--- 110,114 ----
! PyMODINIT_FUNC
init_weakref(void)
{