|
From: Tatsuro M. <tma...@ya...> - 2010-02-17 11:32:25
|
Hello I have tried to see what happens with pressing CTRL+C. http://old.nabble.com/Re%3A-towards-4.4-(ctrl%2Bc-issue-for-gnuplot.exe(windows))-p27527817.html http://old.nabble.com/Re%3A-towards-4.4-(ctrl%2Bc-issue-for-gnuplot.exe(windows))-p27527993.html This problem is not easy to fix completely. At this moment, I vote to Benjamin's proposal. +#if defined(WGP_CONSOLE) + (void) signal(SIGINT, SIG_IGN); +#else (void) signal(SIGINT, (sigfunc) inter); +#endif Addition of something like /* Fix me */ is preferred for me. ********** +#if defined(WGP_CONSOLE) + /* Fix me. CTRC+C crashes console mode gnuplot for windows. failure of longjmp() is not easy to fix so that the signal of SIGINT is just ignored at the moment */ ******* Regards Tatsuro --- Petr Mikulik wrote: > > > Does this mean we can close out some or all of these bugs? > > > 2848002 Ctrl+C crashes windows console build > > > > No modification seems to be applied to plot.c > > > > (void) signal(SIGINT, (sigfunc) inter); > > > > Perhaps this issue still remains. > > Should I commit it to cvs? > http://sourceforge.net/tracker/?func=detail&aid=2848002&group_id=2055&atid=102055 > > Are there any other patches that need a commit? > > --- > PM > -------------------------------------- VANCOUVER 2010 Olympic News [Yahoo! Sports/sportsnavi] http://pr.mail.yahoo.co.jp/olympic/ |