aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/unix
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-10-30 11:53:03 +0100
committerSverker Eriksson <[email protected]>2014-10-30 14:47:28 +0100
commit5fb392632142f3903e2be91d5ada95fc4474d2ab (patch)
treeca9b3d356d25b67f287f2a937b82ad4e1b614379 /erts/etc/unix
parent743ed31108ee555db18d9833186865e85e34333e (diff)
downloadotp-5fb392632142f3903e2be91d5ada95fc4474d2ab.tar.gz
otp-5fb392632142f3903e2be91d5ada95fc4474d2ab.tar.bz2
otp-5fb392632142f3903e2be91d5ada95fc4474d2ab.zip
erts: Mend run_erl to set windows size of terminal sent from to_erl
Need to include sys/ioctl.h for TIOCSWINSZ to be defined. Seems this was broken when refactoring run_erl for OSE in OTP 17.0.
Diffstat (limited to 'erts/etc/unix')
-rw-r--r--erts/etc/unix/run_erl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/unix/run_erl.c b/erts/etc/unix/run_erl.c
index 4b123b8911..049e83f9e4 100644
--- a/erts/etc/unix/run_erl.c
+++ b/erts/etc/unix/run_erl.c
@@ -490,7 +490,7 @@ static void pass_on(pid_t childpid)
#ifdef DEBUG
erts_run_erl_log_status("Pty master write; ");
#endif
- len = erts_run_erl_extract_ctrl_seq(buf, len);
+ len = erts_run_erl_extract_ctrl_seq(buf, len, mfd);
if(len==1 && buf[0] == '\003') {
kill(childpid,SIGINT);