about summary refs log tree commit diff
path: root/Src/builtin.c
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/builtin.c
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/builtin.c')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 93fa9112c..02bcd854d 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -6129,7 +6129,7 @@ bin_read(char *name, char **args, Options ops, UNUSED(int func))
 	    if (unset(INTERACTIVE))
 		gettyinfo(&shttyinfo);
 	    /* attach to the tty */
-	    attachtty(mypgrp);
+	    ATTACHTTY(mypgrp, 1);
 	    if (!isem)
 		setcbreak();
 	    readfd = SHTTY;