=================================================================== RCS file: /home/cvs/OpenXM/src/kxx/ox_texmacs.c,v retrieving revision 1.37 retrieving revision 1.39 diff -u -p -r1.37 -r1.39 --- OpenXM/src/kxx/ox_texmacs.c 2015/10/08 11:49:38 1.37 +++ OpenXM/src/kxx/ox_texmacs.c 2016/03/31 05:27:34 1.39 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/kxx/ox_texmacs.c,v 1.36 2015/09/28 07:01:27 takayama Exp $ */ +/* $OpenXM: OpenXM/src/kxx/ox_texmacs.c,v 1.38 2015/10/10 11:29:46 takayama Exp $ */ #include #include @@ -9,7 +9,6 @@ #include "serversm.h" #include "ox_pathfinder.h" -void *sGC_malloc(size_t size); #if defined(__CYGWIN__) || defined(__MSYS__) #define JMP_BUF sigjmp_buf #define SETJMP(env) MYSIGSETJMP(env,1) @@ -217,8 +216,8 @@ main(int argc,char *argv[]) { if (LanguageResource != NULL) KSexecuteString(LanguageResource); startEngine(TM_Engine," "); - if (signal(SIGINT,SIG_IGN) != SIG_IGN) { - signal(SIGINT,ctrlC); + if (mysignal(SIGINT,SIG_IGN) != SIG_IGN) { + mysignal(SIGINT,ctrlC); } irt = 0; @@ -231,8 +230,8 @@ main(int argc,char *argv[]) { RestrictedMode = RestrictedMode_saved; } Calling_ctrlC_hook = 0; - if (signal(SIGINT,SIG_IGN) != SIG_IGN) { - signal(SIGINT,ctrlC); + if (mysignal(SIGINT,SIG_IGN) != SIG_IGN) { + mysignal(SIGINT,ctrlC); } irt = 1; continue;