Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 3 Jul 2016 17:09:29 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: [PATCH 14/16] fix TCS* definitions in mips termios.h

these were incorrectly using the generic definitions.
---
 arch/mips/bits/termios.h    | 6 +++---
 arch/mips64/bits/termios.h  | 6 +++---
 arch/mipsn32/bits/termios.h | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h
index 55ba132..29b4b22 100644
--- a/arch/mips/bits/termios.h
+++ b/arch/mips/bits/termios.h
@@ -142,9 +142,9 @@ struct termios
 #define TCOFLUSH  1
 #define TCIOFLUSH 2
 
-#define TCSANOW   0
-#define TCSADRAIN 1
-#define TCSAFLUSH 2
+#define TCSANOW 0x540e
+#define TCSADRAIN 0x540f
+#define TCSAFLUSH 0x5410
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #define EXTA    0000016
diff --git a/arch/mips64/bits/termios.h b/arch/mips64/bits/termios.h
index d831cfa..d97df8c 100644
--- a/arch/mips64/bits/termios.h
+++ b/arch/mips64/bits/termios.h
@@ -139,9 +139,9 @@ struct termios {
 #define TCOFLUSH  1
 #define TCIOFLUSH 2
 
-#define TCSANOW   0
-#define TCSADRAIN 1
-#define TCSAFLUSH 2
+#define TCSANOW 0x540e
+#define TCSADRAIN 0x540f
+#define TCSAFLUSH 0x5410
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #define EXTA    0000016
diff --git a/arch/mipsn32/bits/termios.h b/arch/mipsn32/bits/termios.h
index d831cfa..d97df8c 100644
--- a/arch/mipsn32/bits/termios.h
+++ b/arch/mipsn32/bits/termios.h
@@ -139,9 +139,9 @@ struct termios {
 #define TCOFLUSH  1
 #define TCIOFLUSH 2
 
-#define TCSANOW   0
-#define TCSADRAIN 1
-#define TCSAFLUSH 2
+#define TCSANOW 0x540e
+#define TCSADRAIN 0x540f
+#define TCSAFLUSH 0x5410
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #define EXTA    0000016
-- 
2.8.1

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.