This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10339] Terminal interface: non-standard baudrates are not handled properly on Linux-systems
- From: "hpa at zytor dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 08 Oct 2018 06:30:25 +0000
- Subject: [Bug libc/10339] Terminal interface: non-standard baudrates are not handled properly on Linux-systems
- Auto-submitted: auto-generated
- References: <bug-10339-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=10339
--- Comment #14 from hpa at zytor dot com <hpa at zytor dot com> ---
OK, another problem:
Neither mips nor sparc defined the c_[io]speed in the *user space* struct
termios. MIPS has a fair number of unused bytes in c_cc, so my current
thinking is to drop NCCS to 24 on MIPS (the kernel uses 23) and add those
fields.
However, SPARC seems to have followed the SunOS definition and not only does
not have these fields, but NCCS == 17; in other words the glibc structure
exactly matches the legacy SPARC structure. I don't see a way around that
other than replacing struct termios on SPARC, and versioning the interfaces.
Thoughts?
--
You are receiving this mail because:
You are on the CC list for the bug.