aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-01-19 15:09:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-23 09:16:29 +0000
commite462419e348ac47ef093c1e7090284160ece3ed9 (patch)
tree8715499568b7988bd75f0644fe6dea6b47661ceb
parenturi: switch to conservative maximum hostname length (diff)
slave: skip e310487dae99 if not supported
slave.c:188:26: error: use of undeclared identifier 'IUTF8' flags.c_iflag |= IUTF8; ^
-rw-r--r--slave.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/slave.c b/slave.c
index eaa21060..d380749e 100644
--- a/slave.c
+++ b/slave.c
@@ -178,6 +178,7 @@ slave_exec(int ptmx, char *argv[], int err_fd, bool login_shell,
goto err;
}
+#ifdef IUTF8
{
struct termios flags;
if (tcgetattr(pts, &flags) < 0) {
@@ -191,6 +192,7 @@ slave_exec(int ptmx, char *argv[], int err_fd, bool login_shell,
goto err;
}
}
+#endif
if (tll_length(*notifications) > 0) {
int flags = fcntl(pts, F_GETFL);