This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/10339] Terminal interface: non-standard baudrates are not handled properly on Linux-systems


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]