From c2c3e7e8864159e8e8fa6847fad5d602ec282a64 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 6 Jun 2002 05:47:35 +0000 Subject: 17297: 17265 continued. --- ChangeLog | 4 ++++ Src/Modules/zpty.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a5329b348..992c53b4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-06-06 Clint Adams + + * 17297: Src/Modules/zpty.c: 17265 continued. + 2002-06-05 Peter Stephenson * 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 -- cgit 1.4.1