diff src/help.cc @ 2554:f7e3d23f0a8f

[project @ 1996-11-21 01:41:57 by jwe]
author jwe
date Thu, 21 Nov 1996 01:43:06 +0000
parents c0770352f562
children 25fbbe6074e9
line wrap: on
line diff
--- a/src/help.cc
+++ b/src/help.cc
@@ -552,12 +552,12 @@
 
   cmd_str = cmd_buf.str ();
 
-  volatile sig_handler *old_sigint_handler;
-  old_sigint_handler = octave_set_signal_handler (SIGINT, SIG_IGN);
+  volatile octave_interrupt_handler *old_interrupt_handler
+    = octave_ignore_interrupts ();
 
   status = system (cmd_str);
 
-  octave_set_signal_handler (SIGINT, old_sigint_handler);
+  octave_set_interrupt_handler (old_interrupt_handler);
 
   if ((status & 0xff) == 0)
     status = (signed char) ((status & 0xff00) >> 8);