[Python-checkins] python/dist/src/Modules signalmodule.c,2.68,2.69

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
2002年6月13日 14:42:54 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv12063/Modules
Modified Files:
	signalmodule.c 
Log Message:
SF # 533070 Silence AIX C Compiler Warnings
Warning caused by using &func. & is not necessary.
Index: signalmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/signalmodule.c,v
retrieving revision 2.68
retrieving revision 2.69
diff -C2 -d -r2.68 -r2.69
*** signalmodule.c	13 Jun 2002 20:32:52 -0000	2.68
--- signalmodule.c	13 Jun 2002 21:42:51 -0000	2.69
***************
*** 523,527 ****
 		Py_DECREF(Handlers[SIGINT].func);
 		Handlers[SIGINT].func = IntHandler;
! 		old_siginthandler = PyOS_setsig(SIGINT, &signal_handler);
 	}
 
--- 523,527 ----
 		Py_DECREF(Handlers[SIGINT].func);
 		Handlers[SIGINT].func = IntHandler;
! 		old_siginthandler = PyOS_setsig(SIGINT, signal_handler);
 	}
 

AltStyle によって変換されたページ (->オリジナル) /