[Python-checkins] CVS: python/dist/src/Modules signalmodule.c,2.49,2.50

Tim Peters python-dev@python.org
Sun, 23 Jul 2000 11:33:57 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv30688/python/dist/src/modules

Modified Files:
	signalmodule.c 
Log Message:
Missed a return from a signal handler -- thanks to /F for pointing
it out!


Index: signalmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/signalmodule.c,v
retrieving revision 2.49
retrieving revision 2.50
diff -C2 -r2.49 -r2.50
*** signalmodule.c	2000/07/23 18:10:18	2.49
--- signalmodule.c	2000/07/23 18:33:52	2.50
***************
*** 137,141 ****
  		   Don't clear the 'func' field as it is our pointer
  		   to the Python handler... */
! 		return;
  	}
  #endif
--- 137,141 ----
  		   Don't clear the 'func' field as it is our pointer
  		   to the Python handler... */
! 		Py_RETURN_FROM_SIGNAL_HANDLER(0);
  	}
  #endif