Bug 147533

Summary: Mark and space parity fix.
Product: [Fedora] Fedora Reporter: taj <taj>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-13 22:00:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
proposed fix for mark and space parity none

Description taj 2005-02-08 21:28:17 UTC
As far as I can tell, we need to have CMSPAR defined in bits/termios.h
so mark and space parity work.   It is also defined in asm/termbits.h
but I dont think that should be used by applications.

--- bits/termios.h.orig	2005-02-08 14:57:52.000000000 -0700
+++ bits/termios.h	2005-02-08 14:56:56.000000000 -0700
@@ -172,6 +172,7 @@
 #define __MAX_BAUD B4000000
 #ifdef __USE_MISC
 # define CIBAUD	  002003600000		/* input baud rate (not used) */
+# define CMSPAR   010000000000          /* mark or space (stick)
parity */
 # define CRTSCTS  020000000000		/* flow control */
 #endif

Comment 1 taj 2005-02-08 21:30:24 UTC
Created attachment 110824 [details]
proposed fix for mark and space parity

Comment 3 taj 2005-02-13 22:00:31 UTC
fixed in glibc-2.3.4-10

Should go upstream...