slave: skip e310487dae if not supported

slave.c:188:26: error: use of undeclared identifier 'IUTF8'
        flags.c_iflag |= IUTF8;
                         ^
This commit is contained in:
Jan Beich 2021-01-19 15:09:06 +00:00 committed by Daniel Eklöf
parent c531c6bc0e
commit 67e713ff3a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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);