Mercurial > octave-nkf
diff src/sighandlers.cc @ 4092:01f46b36e11f
[project @ 2002-10-07 16:13:22 by jwe]
author | jwe |
---|---|
date | Mon, 07 Oct 2002 16:13:22 +0000 |
parents | b4fa31442a78 |
children | 6b96ce9f5743 |
line wrap: on
line diff
--- a/src/sighandlers.cc Sun Oct 06 20:50:15 2002 +0000 +++ b/src/sighandlers.cc Mon Oct 07 16:13:22 2002 +0000 @@ -139,8 +139,15 @@ { octave_set_signal_handler (sig_number, SIG_DFL); +#if defined (HAVE_RAISE) + raise (sig_number); +#elif defined (HAVE_KILL) kill (getpid (), sig_number); +#else + exit (1); +#endif } + } }