Skip to content

src/sysdep.h: disable cfset{i,o}speed macros on glibc >= 2.42

glibc 2.42 added support for arbitrary termios speeds on Linux, i.e. speed_t and Bxxx defines changed from bitmasks to unsigned integers: Therefore speed_t can no longer be used together with c_flag's internal bitmask CBAUD.

When minicom is compiled on such a system the baudrate setting is broken and the user experiences garbled UART output.

Remove the macros for glibc, i.e. call cfset{i,o}speed() instead.

Fixes #17 (closed)

Edited by Stefan Becker

Merge request reports

Loading