← Commit list

24e17b438

James Clarke
James Clarke
2017-10-30
SUCCESS Duration: 143s

Subject

xfuncs: Handle missing non-POSIX termios constants

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/xfuncs.c+9 -0
@@ -355,6 +355,15 @@ int FAST_FUNC get_termios_and_make_raw(int fd, struct termios *newterm, struct t
*/
}
if (flags & TERMIOS_RAW_INPUT) {
+#ifndef IMAXBEL
+# define IMAXBEL 0
+#endif
+#ifndef IUCLC
+# define IUCLC 0
+#endif
+#ifndef IXANY
+# define IXANY 0
+#endif
/* IXOFF=0: disable sending XON/XOFF if input buf is full */
/* IXON=0: input XON/XOFF chars are not special */
/* dont convert anything on input */