[PATCH 1/1] linux/termios: clear c_cflag & CIBAUD for non-split speed
H. Peter Anvin
hpa@zytor.com
Mon Sep 8 18:18:52 GMT 2025
On 2025-09-08 08:43, Florian Weimer wrote:
>>
>> When writing the code that went into glibc 2.42 I had considered this
>> issue, and had to make an educated guess which way would be more
>> likely to break fewer things. Unfortunately, it appears I guessed
>> wrong.
>
> Can we get a test case for this?
>
Sure. I can add it to the tst-termios-linux test, although it probably
need access to termios-internals.h to build.
>
> Does it fix bug 33340?
>
>From the looks of it, it would. It does, in fact, do:
ios.c_cflag &= ~CBAUD;
ios.c_cflag |= BOTHER;
-hpa
More information about the Libc-alpha
mailing list