From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9879 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH 14/16] fix TCS* definitions in mips termios.h Date: Sun, 10 Apr 2016 14:15:46 +0200 Message-ID: <25dfba1d3105a3930ee90372b5b10d08566dd5cf.1460250248.git.nsz@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1460290566 26413 80.91.229.3 (10 Apr 2016 12:16:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2016 12:16:06 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9892-gllmg-musl=m.gmane.org@lists.openwall.com Sun Apr 10 14:16:06 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1apEHc-00017T-Qu for gllmg-musl@m.gmane.org; Sun, 10 Apr 2016 14:16:04 +0200 Original-Received: (qmail 28612 invoked by uid 550); 10 Apr 2016 12:16:02 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 28571 invoked from network); 10 Apr 2016 12:15:58 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:9879 Archived-At: these were incorrectly using the generic definitions. --- arch/mips/bits/termios.h | 6 +++--- arch/mips64/bits/termios.h | 6 +++--- 2 files changed, 6 insertions(+), 6 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 -- 2.7.2