From 89c2129905d067b2d52c70f5b453561bb782da89 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sat, 25 Apr 2015 10:50:16 -0700 Subject: 34961: sysparams[pid] and sysparams[ppid] added to variables index --- ChangeLog | 3 +++ Doc/Zsh/mod_system.yo | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index a76808be2..9dd9bcc2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-04-25 Barton E. Schaefer + * 34961: Doc/Zsh/mod_system.yo: sysparams[pid] and sysparams[ppid] + added to variables index + * 34961: Src/compat.c, Src/init.c: replace a couple of free() with zfree() for consistency. diff --git a/Doc/Zsh/mod_system.yo b/Doc/Zsh/mod_system.yo index d6b3765ff..7101e37dc 100644 --- a/Doc/Zsh/mod_system.yo +++ b/Doc/Zsh/mod_system.yo @@ -181,10 +181,12 @@ A readonly associative array. The keys are: startitem() item(tt(pid))( +vindex(pid, sysparams) Returns the process ID of the current process, even in subshells. Compare tt($$), which returns the process ID of the main shell process. ) item(tt(ppid))( +vindex(ppid, sysparams) Returns the process ID of the parent of the current process, even in subshells. Compare tt($PPID), which returns the process ID of the parent of the main shell process. -- cgit 1.4.1