about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2014-11-02 15:29:06 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2014-11-02 15:29:06 +0000
commit023c2236e1280ad1539a2885c6479d0b89d6dc46 (patch)
tree9552f1a2c6e55fab593ef94749d233cbf640205d /ChangeLog
parent6a29f66f8a96cb7f41d472a2f7c80f75ea9eb92b (diff)
downloadzsh-023c2236e1280ad1539a2885c6479d0b89d6dc46.tar.gz
zsh-023c2236e1280ad1539a2885c6479d0b89d6dc46.tar.xz
zsh-023c2236e1280ad1539a2885c6479d0b89d6dc46.zip
Treat exec from subshell as if forked
This removes weird behaviour when optimising the last command.
In particular SHLVL is correct from a subshell executed as the last
command.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a3d18bf2..678b561ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-11-02  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* 33591: Src/exec.c, Test/D04parameter.ztst: don't treat an exec
+	within an subshell as an exec of the parent shell even if about
+	to exit.  Fixes incorrect SHLVL in subshell.
+
 2014-10-31  Oliver Kiddle  <opk@zsh.org>
 
 	* unposted: Src/jobs.c: quash compiler warning