about summary refs log tree commit diff
path: root/Etc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-03-25 10:07:12 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-03-25 10:07:12 +0000
commit83b0fd36740bd78d6058be58115ff688796a922a (patch)
tree38c3265238a2d0c8d87998d4442f981c78a4f31f /Etc
parent8de7436fc07454e2f5307c00ad99ee19d0baf853 (diff)
downloadzsh-83b0fd36740bd78d6058be58115ff688796a922a.tar.gz
zsh-83b0fd36740bd78d6058be58115ff688796a922a.tar.xz
zsh-83b0fd36740bd78d6058be58115ff688796a922a.zip
19682: Don't run ZERR, DEBUG or EXIT traps inside other traps.
Diffstat (limited to 'Etc')
-rw-r--r--Etc/NEWS13
1 files changed, 9 insertions, 4 deletions
diff --git a/Etc/NEWS b/Etc/NEWS
index 654857457..d2e53ee1c 100644
--- a/Etc/NEWS
+++ b/Etc/NEWS
@@ -5,14 +5,19 @@ CHANGES FROM PREVIOUS VERSIONS OF ZSH
 Changes since zsh version 4.2.0
 -------------------------------
 
-The zftp module supports ports following the hostname in the normal suffix
-notation, `host:port'.  This requires IPv6 colon-style addresses to be
-specified in suitably quoted square brackets, for example:
+- The zftp module supports ports following the hostname in the normal suffix
+  notation, `host:port'.  This requires IPv6 colon-style addresses to be
+  specified in suitably quoted square brackets, for example:
 
   zftp open '[f000::baaa]'
   zftp open '[f000::baaa]:ftp'
 
-(the two are equivalent).
+  (the two are equivalent).
+
+- Special traps, those that don't correspond to signals, i.e. ZERR, DEBUG
+  and EXIT are no longer executed inside other traps.  This caused
+  unnecessary confusion if, for example, both DEBUG and EXIT traps
+  were set.  The new behaviour is more compatible with other shells.
 
 
 New features between zsh versions 4.0 and 4.2