diff --git a/0001-On_s390_con3270_disable_ANSI_colour_esc.patch b/0001-On_s390_con3270_disable_ANSI_colour_esc.patch index 5428baa..87a6709 100644 --- a/0001-On_s390_con3270_disable_ANSI_colour_esc.patch +++ b/0001-On_s390_con3270_disable_ANSI_colour_esc.patch @@ -67,7 +67,7 @@ assert(j); + if (_unlikely_(is_ansi_console < 0)) { -+ int fd = open_terminal("/dev/console", O_WRONLY|O_NOCTTY|O_CLOEXEC); ++ int fd = open_terminal("/dev/console", O_RDONLY|O_NOCTTY|O_CLOEXEC); + if (fd < 0) + is_ansi_console = 0; + else {