[Python-checkins] CVS: python/dist/src/Parser intrcheck.c,2.34,2.35
Thomas Wouters
python-dev@python.org
Sat, 22 Jul 2000 16:33:24 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Include ceval.h,2.34,2.35 import.h,2.25,2.26 modsupport.h,2.32,2.33 pgenheaders.h,2.20,2.21 sysmodule.h,2.20,2.21 unicodeobject.h,2.15,2.16
- Next message: [Python-checkins] CVS: python/dist/src/Python dynload_aix.c,2.7,2.8 dynload_dl.c,2.4,2.5 frozenmain.c,2.23,2.24 import.c,2.142,2.143 thread_lwp.h,2.12,2.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Parser
In directory slayer.i.sourceforge.net:/tmp/cvs-serv9902
Modified Files:
intrcheck.c
Log Message:
Remember to return something if RETSIGTYPE is not 'void'. Do we still need
to worry about systems that have signal-handlers return 'int' ? Not all of
the code does, though nothing will break because of it.
Index: intrcheck.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/intrcheck.c,v
retrieving revision 2.34
retrieving revision 2.35
diff -C2 -r2.34 -r2.35
*** intrcheck.c 2000/07/22 19:20:54 2.34
--- intrcheck.c 2000/07/22 23:33:22 2.35
***************
*** 169,172 ****
--- 169,175 ----
signal(SIGINT, intcatcher);
Py_AddPendingCall(checksignals_witharg, NULL);
+ #if RETSIGTYPE != void
+ return 0;
+ #endif
}
- Previous message: [Python-checkins] CVS: python/dist/src/Include ceval.h,2.34,2.35 import.h,2.25,2.26 modsupport.h,2.32,2.33 pgenheaders.h,2.20,2.21 sysmodule.h,2.20,2.21 unicodeobject.h,2.15,2.16
- Next message: [Python-checkins] CVS: python/dist/src/Python dynload_aix.c,2.7,2.8 dynload_dl.c,2.4,2.5 frozenmain.c,2.23,2.24 import.c,2.142,2.143 thread_lwp.h,2.12,2.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]