about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-06-06 05:47:35 +0000
committerClint Adams <clint@users.sourceforge.net>2002-06-06 05:47:35 +0000
commitc2c3e7e8864159e8e8fa6847fad5d602ec282a64 (patch)
treed74412b3687cb776cecf1070bf75e6d1741a3e91
parent956eebdf627aacf732c2703a6d9f6766a13bb773 (diff)
downloadzsh-c2c3e7e8864159e8e8fa6847fad5d602ec282a64.tar.gz
zsh-c2c3e7e8864159e8e8fa6847fad5d602ec282a64.tar.xz
zsh-c2c3e7e8864159e8e8fa6847fad5d602ec282a64.zip
17297: 17265 continued.
-rw-r--r--ChangeLog4
-rw-r--r--Src/Modules/zpty.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a5329b348..992c53b4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-06  Clint Adams  <clint@zsh.org>
+
+	* 17297: Src/Modules/zpty.c: 17265 continued.
+
 2002-06-05  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>
 
 	* 17295: Src/Zle/zle_thingy.c: `zle -F' could fail because
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c
index 7ab31cfb4..ad5d2ab39 100644
--- a/Src/Modules/zpty.c
+++ b/Src/Modules/zpty.c
@@ -294,7 +294,7 @@ newptycmd(char *nam, char *pname, char **args, int echo, int nblock)
 	/* This code copied from the clone module, except for getting *
 	 * the descriptor from get_pty() and duplicating it to 0/1/2. */
 
-	clearjobtab();
+	clearjobtab(0);
 	ppid = getppid();
 	mypid = getpid();
 #ifdef HAVE_SETSID