[Bug 60289] New: Use cf[gs]et[io]baud() if available
http://bugs.winehq.org/show_bug.cgi?id=60289 Bug ID: 60289 Summary: Use cf[gs]et[io]baud() if available Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@list.winehq.org Reporter: hpa@zytor.com Target Milestone: --- Distribution: --- Since glibc 2.42, the baud_t API cf[gs]et[io]baud() has been provided by glibc on Hurd and Linux. The issues with the current implementation in ntdll/unix/serial.c are: a) It is broken on Linux/ppc: powerpc doesn't have the TC[SG]ETS2; instead it uses TC[SG]SETS, but glibc exports incorrect ioctl numbers for those (for legacy reasons.) b) It is problematic for other applications compiled against an older glibc or with certain classes of bugs. The glibc implementation carefully attempts to normalize the representation that is fed to the kernel such that other applications will be as likely as possible to work correctly anyway. c) Hopefully POSIX will pick up the baud_t interface in a future standard; the POSIX committee are aware that the speed_t interface is problematic, and has expressed the intent of adopting a new interface in the future if it ends up widely supported. See also bug 29011, bug 48108, bug 56643, bug 59290. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60289 H. Peter Anvin <hpa@zytor.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=29011 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60289 H. Peter Anvin <hpa@zytor.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=48108 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60289 H. Peter Anvin <hpa@zytor.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=56643 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60289 H. Peter Anvin <hpa@zytor.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=59290 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60289 H. Peter Anvin <hpa@zytor.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hpa@zytor.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60289 H. Peter Anvin <hpa@zytor.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86-64 |Other -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60289 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com Version|unspecified |11.16 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60289 Austin English <austinenglish@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware, source -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla