about summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2018-09-06 10:39:45 +0100
committerPeter Stephenson <p.stephenson@samsung.com>2018-09-06 10:39:45 +0100
commit165000113a869312b9d0920f42d8548a12c4d324 (patch)
tree40da47241bb6bdff6bbd42d0a9015512bcd62069 /Src/Modules
parentf7e874c1018a7748c62c83b1710edf37bb60bde3 (diff)
downloadzsh-165000113a869312b9d0920f42d8548a12c4d324.tar.gz
zsh-165000113a869312b9d0920f42d8548a12c4d324.tar.xz
zsh-165000113a869312b9d0920f42d8548a12c4d324.zip
43396: Job control debug.
Particularly for TTY ownership.
Diffstat (limited to 'Src/Modules')
-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. */