about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorDaniel Shahaf <danielsh@apache.org>2019-12-17 07:44:28 +0000
committerDaniel Shahaf <danielsh@apache.org>2019-12-18 06:01:50 +0000
commitae7e291873c1f80c51f53db934a87df2c0eaf821 (patch)
treedf45bb0d415d9ea055554a1301776efc039d81c8 /Src/exec.c
parenta370f24137049d0c6b88f53e8846483949fc9d95 (diff)
downloadzsh-ae7e291873c1f80c51f53db934a87df2c0eaf821.tar.gz
zsh-ae7e291873c1f80c51f53db934a87df2c0eaf821.tar.xz
zsh-ae7e291873c1f80c51f53db934a87df2c0eaf821.zip
45066: internal: Document forklevel, locallevel, and exit_pending.
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 0d9d7de7c..50027654a 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -971,6 +971,10 @@ hashcmd(char *arg0, char **pp)
     return cn;
 }
 
+/* The value that 'locallevel' had when we forked. When we get back to this
+ * level, the current process (which is a subshell) will terminate.
+ */
+
 /**/
 int
 forklevel;