about summary refs log tree commit diff
path: root/Src/Modules/zpty.c
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2018-09-06 10:39:45 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2018-09-16 17:42:31 +0100
commitf479764b34f997d27f591ddeb93d785f899534bb (patch)
treeb40f2c7e7d1ccb353ab541f3dad80d3f8a984e07 /Src/Modules/zpty.c
parent301ca1229a6ca967f8bd7d3c379ff6b9983a3673 (diff)
downloadzsh-f479764b34f997d27f591ddeb93d785f899534bb.tar.gz
zsh-f479764b34f997d27f591ddeb93d785f899534bb.tar.xz
zsh-f479764b34f997d27f591ddeb93d785f899534bb.zip
43396: Job control debug.
Particularly for TTY ownership.
Diffstat (limited to 'Src/Modules/zpty.c')
-rw-r--r--Src/Modules/zpty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c
index 2f83f7ce6..f8a5a9534 100644
--- a/Src/Modules/zpty.c
+++ b/Src/Modules/zpty.c
@@ -356,7 +356,7 @@ newptycmd(char *nam, char *pname, char **args, int echo, int nblock)
 	if (get_pty(0, &slave))
 	    exit(1);
 	SHTTY = slave;
-	attachtty(mypid);
+	ATTACHTTY(mypid, 17);
 #ifdef TIOCGWINSZ
 	/* Set the window size before associating with the terminal *
 	 * so that we don't get hit with a SIGWINCH.  I'm paranoid. */