about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2005-12-15 04:24:04 +0000
committerBart Schaefer <barts@users.sourceforge.net>2005-12-15 04:24:04 +0000
commit174ad4a80fa13a843a319c516e703ae74858ad39 (patch)
tree1423c7b97cf838be9f0d8af3913475d4914c700d /ChangeLog
parentc3e8aec7592bc9957c86a8be7883fdb6ae738095 (diff)
downloadzsh-174ad4a80fa13a843a319c516e703ae74858ad39.tar.gz
zsh-174ad4a80fa13a843a319c516e703ae74858ad39.tar.xz
zsh-174ad4a80fa13a843a319c516e703ae74858ad39.zip
21814: error handling for traps in "always" constructs.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a29b908c..1e8cd1e33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-12-14  Bart Schaefer  <schaefer@zsh.org>
+
+	* 21814: Src/loop.c, Src/signals.c: if an error occurs in an
+	inline trap, set $? to 1, to match the behavior of pre-4.2
+	versions of zsh.  If and only if the trap is executed within the
+	"try" part of an "always" construct, also propagate the error
+	condition so that the "try" section is aborted.  (Belated commit.)
+
 2005-12-14  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* 22078: Src/utils.c: made ucs4toutf8() a static function (when