about summary refs log tree commit diff
diff options
context:
space:
mode:
-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