about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-06-18 09:29:48 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-06-18 09:29:48 +0000
commit528d2af1e5d17bf127f99e593e18004468e04892 (patch)
tree92c372e81c1f9ff8e377dcc5f8d5345e97b2411a
parent10707539969d5b5fff68db12bd7318bc3a13765c (diff)
downloadzsh-528d2af1e5d17bf127f99e593e18004468e04892.tar.gz
zsh-528d2af1e5d17bf127f99e593e18004468e04892.tar.xz
zsh-528d2af1e5d17bf127f99e593e18004468e04892.zip
more handler -> zhandler
-rw-r--r--ChangeLog4
-rw-r--r--Src/signals.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e8745b3df..35bde7e51 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  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 14952: Src/parse.c: make zcompile unlink() the zwc file first
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   */