diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2001-06-18 09:30:52 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2001-06-18 09:30:52 +0000 |
commit | bf65f3288be1add86f617a1681b88571e643fffe (patch) | |
tree | cfed62dba0194e096e2c87e4f55589ecbc872707 | |
parent | 82b69811f3222b87dd36860ec7a631feb64347f8 (diff) | |
download | zsh-bf65f3288be1add86f617a1681b88571e643fffe.tar.gz zsh-bf65f3288be1add86f617a1681b88571e643fffe.tar.xz zsh-bf65f3288be1add86f617a1681b88571e643fffe.zip |
more handler -> zhandler
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/signals.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index fbb843cd8..7cc57eca3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-06-18 Peter Stephenson <pws@csr.com> + + * 14959: Src/signals.c: more renames for 14951. + 2001-06-18 Andrej Borsenkow <bor@zsh.org> * unposted: zshconfig.ac: forgot to change diff --git a/Src/signals.c b/Src/signals.c index e67887170..fc8705f4f 100644 --- a/Src/signals.c +++ b/Src/signals.c @@ -105,7 +105,7 @@ install_handler(int sig) # ifdef BSD_SIGNALS struct sigvec vec; - vec.sv_handler = (SIGNAL_HANDTYPE) handler; + vec.sv_handler = (SIGNAL_HANDTYPE) zhandler; vec.sv_mask = sigmask(sig); /* mask out this signal while in handler */ # ifdef SV_INTERRUPT vec.sv_flags = SV_INTERRUPT; /* make sure system calls are not restarted */ @@ -115,9 +115,9 @@ install_handler(int sig) # ifdef SYSV_SIGNALS /* we want sigset rather than signal because it will * * block sig while in handler. signal usually doesn't */ - sigset(sig, handler); + sigset(sig, zhandler); # else /* NO_SIGNAL_BLOCKING (bummer) */ - signal(sig, handler); + signal(sig, zhandler); # endif /* SYSV_SIGNALS */ # endif /* BSD_SIGNALS */ |