diff src/toplev.cc @ 2016:6f3428b0d2c7

[project @ 1996-03-22 09:48:38 by jwe]
author jwe
date Fri, 22 Mar 1996 09:49:03 +0000
parents 003570e69c7b
children 18365b6332a8
line wrap: on
line diff
--- a/src/toplev.cc	Wed Mar 20 11:12:35 1996 +0000
+++ b/src/toplev.cc	Fri Mar 22 09:49:03 1996 +0000
@@ -227,11 +227,15 @@
 {
   // Allow the user to interrupt us without exiting.
 
+  octave_save_signal_mask ();
+
   if (setjmp (toplevel) != 0)
     {
       raw_mode (0);
 
       cout << "\n";
+
+      octave_restore_signal_mask ();
     }
 
   can_interrupt = 1;