summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Src/exec.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 890779515..dda4ec48d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-09-27  Barton E. Schaefer  <schaefer@zsh.org>
+
+	* 39437: Src/exec.c: use list_pipe_pid in assignment for clarity
+
 2016-09-26  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Martijn Dekker: 39448: Src/loop.c: reset REPLY in select when
@@ -36,7 +40,7 @@
 
 	* unposted: Completion/Unix/Command/_gpg: Correct typo
 
-2016-09-21  Barton E. Schaefer  <schaefer@brasslantern.com>
+2016-09-21  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* unposted: Completion/Darwin/Type/_retrieve_mac_apps: add
 	missing final colon in zstyle context lookup
diff --git a/Src/exec.c b/Src/exec.c
index 4e8934061..c27c41c1b 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -1702,7 +1702,7 @@ execpline(Estate state, wordcode slcode, int how, int last1)
 			    jobtab[list_pipe_job].other = newjob;
 			    jobtab[list_pipe_job].stat |= STAT_SUPERJOB;
 			    jn->stat |= STAT_SUBJOB | STAT_NOPRINT;
-			    jn->other = pid;
+			    jn->other = list_pipe_pid;	/* see zsh.h */
 			    if (hasprocs(list_pipe_job))
 				jn->gleader = jobtab[list_pipe_job].gleader;
 			}