[Python-checkins] python/dist/src/Python ceval.c, 2.375,
2.376 pythonrun.c, 2.202, 2.203 thread.c, 2.49, 2.50
montanaro at users.sourceforge.net
montanaro at users.sourceforge.net
Tue Feb 10 11:50:36 EST 2004
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27540/Python
Modified Files:
ceval.c pythonrun.c thread.c
Log Message:
remove support for missing ANSI C header files (limits.h, stddef.h, etc).
Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.375
retrieving revision 2.376
diff -C2 -d -r2.375 -r2.376
*** ceval.c 8 Feb 2004 19:59:27 -0000 2.375
--- ceval.c 10 Feb 2004 16:50:20 -0000 2.376
***************
*** 807,821 ****
}
}
- #if !defined(HAVE_SIGNAL_H)
- /* If we have true signals, the signal handler
- will call Py_AddPendingCall() so we don't
- have to call PyErr_CheckSignals(). On the
- Mac and DOS, alas, we have to call it. */
- if (PyErr_CheckSignals()) {
- why = WHY_EXCEPTION;
- goto on_error;
- }
- #endif
-
#ifdef WITH_THREAD
if (interpreter_lock) {
--- 807,810 ----
Index: pythonrun.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pythonrun.c,v
retrieving revision 2.202
retrieving revision 2.203
diff -C2 -d -r2.202 -r2.203
*** pythonrun.c 1 Dec 2003 21:35:27 -0000 2.202
--- pythonrun.c 10 Feb 2004 16:50:20 -0000 2.203
***************
*** 14,20 ****
#include "marshal.h"
- #ifdef HAVE_SIGNAL_H
#include <signal.h>
- #endif
#ifdef HAVE_LANGINFO_H
--- 14,18 ----
***************
*** 1564,1568 ****
initsigs(void)
{
- #ifdef HAVE_SIGNAL_H
#ifdef SIGPIPE
signal(SIGPIPE, SIG_IGN);
--- 1562,1565 ----
***************
*** 1574,1578 ****
signal(SIGXFSZ, SIG_IGN);
#endif
- #endif /* HAVE_SIGNAL_H */
PyOS_InitInterrupts(); /* May imply initsignal() */
}
--- 1571,1574 ----
Index: thread.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread.c,v
retrieving revision 2.49
retrieving revision 2.50
diff -C2 -d -r2.49 -r2.50
*** thread.c 17 Jan 2004 00:29:32 -0000 2.49
--- thread.c 10 Feb 2004 16:50:20 -0000 2.50
***************
*** 12,22 ****
#endif
- #ifdef HAVE_STDLIB_H
#include <stdlib.h>
- #else
- #ifdef Py_DEBUG
- extern char *getenv(const char *);
- #endif
- #endif
#ifdef __sgi
--- 12,16 ----
More information about the Python-checkins
mailing list