Changeset 53ea6a0 in tol


Ignore:
Timestamp:
Mar 2, 2012, 4:02:39 PM (15 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
ef21614
Parents:
02587b3
Message:

refs #1430, when INT is signaled the StopFlag is set on and the program does not exit

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@4279 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/init.cpp

    r02587b3 r53ea6a0  
    225225//--------------------------------------------------------------------
    226226{
    227   Error("SIGNAL: Interactive attention signal; on interactive systems this is usually generated by typing some ‘break-in’ key at the terminal. (Interrupt.)");
    228   Error_UnexpectedTolEnd();
    229   exit(sig);
     227  Error("SIGNAL: Interactive attention signal; on interactive systems this is usually generated by typing some break-in key at the terminal. (Interrupt.)");
     228  //Error_UnexpectedTolEnd();
     229  StopFlagOn();
     230  //exit(sig);
    230231};
    231232
    … …  
    270271{
    271272#if defined(UNIX)
     273  signal(SIGINT,   signal_error_SIGINT);
    272274#if 0
    273   signal(SIGINT,   signal_error_SIGINT);
    274275  signal(SIGILL,   signal_error_SIGILL);
    275276  signal(SIGFPE,   signal_error_SIGFPE);
Note: See TracChangeset for help on using the changeset viewer.