mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-02 07:15:31 -04:00
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:
parent
fb660262ab
commit
e462419e34
1 changed files with 2 additions and 0 deletions
2
slave.c
2
slave.c
|
|
@ -178,6 +178,7 @@ slave_exec(int ptmx, char *argv[], int err_fd, bool login_shell,
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef IUTF8
|
||||||
{
|
{
|
||||||
struct termios flags;
|
struct termios flags;
|
||||||
if (tcgetattr(pts, &flags) < 0) {
|
if (tcgetattr(pts, &flags) < 0) {
|
||||||
|
|
@ -191,6 +192,7 @@ slave_exec(int ptmx, char *argv[], int err_fd, bool login_shell,
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (tll_length(*notifications) > 0) {
|
if (tll_length(*notifications) > 0) {
|
||||||
int flags = fcntl(pts, F_GETFL);
|
int flags = fcntl(pts, F_GETFL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue