Mercurial > hg > octave-lyh
changeset 1444:6fadc0c560c9
[project @ 1995-09-19 22:08:24 by jwe]
author | jwe |
---|---|
date | Tue, 19 Sep 1995 22:08:24 +0000 |
parents | cd6c9be7337c |
children | 024865a7629f |
files | readline/signals.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/readline/signals.c +++ b/readline/signals.c @@ -227,18 +227,18 @@ { old_int = (SigHandler *)rl_set_sighandler (SIGINT, rl_signal_handler); if (old_int == (SigHandler *)SIG_IGN) - rl_set_signal_handler (SIGINT, SIG_IGN); + rl_set_sighandler (SIGINT, SIG_IGN); old_alrm = (SigHandler *)rl_set_sighandler (SIGALRM, rl_signal_handler); if (old_alrm == (SigHandler *)SIG_IGN) - rl_set_signal_handler (SIGALRM, SIG_IGN); + rl_set_sighandler (SIGALRM, SIG_IGN); #if !defined (SHELL) #if defined (SIGTSTP) old_tstp = (SigHandler *)rl_set_sighandler (SIGTSTP, rl_signal_handler); if (old_tstp == (SigHandler *)SIG_IGN) - rl_set_signal_handler (SIGTSTP, SIG_IGN); + rl_set_sighandler (SIGTSTP, SIG_IGN); #endif /* SIGTSTP */ #if defined (SIGTTOU) old_ttou = (SigHandler *)rl_set_sighandler (SIGTTOU, rl_signal_handler); @@ -246,8 +246,8 @@ if (old_tstp == (SigHandler *)SIG_IGN) { - rl_set_signal_handler (SIGTTOU, SIG_IGN); - rl_set_signal_handler (SIGTTIN, SIG_IGN); + rl_set_sighandler (SIGTTOU, SIG_IGN); + rl_set_sighandler (SIGTTIN, SIG_IGN); } #endif /* SIGTTOU */