From patchwork Fri Mar 17 02:47:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 740097 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vkqWx4W4Gz9s0Z for ; Fri, 17 Mar 2017 13:47:57 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="G+UZa4GV"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id :mime-version:content-type; q=dns; s=default; b=BStiBISj+USOlFHX 2w/3oE9UxlEnkLwvrvfMowHvioGvujhXj40vYpItQpTFUiOrY0iLrnm5SSP8QZDQ Dio1MKiHIaz+GwrpjZi2t16MT6O3PzNqOQ2Nakgfg/TMw2Q8M1yKBCpnnFdIVaaB tchl5vv09vMLx/mfaNMF8Hx8sQY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id :mime-version:content-type; s=default; bh=5UqoaZ0QemI2vKAZ+2T0/F nnjS4=; b=G+UZa4GVSw7yt6+e7RxQh2guLccEApsecGxpwCrrsGYbQA9USxV2ZQ GDZRTFIw2lhqCvuHHse6wwk7zbMi00QNs0KqcO59RO2ExuICvx+VcnpUsSWjJVjX jxzPTTptjMo1Jx9BpccI/pGJLsXkrj5PgY4LcqEf/+6xietmCqUi0= Received: (qmail 42147 invoked by alias); 17 Mar 2017 02:47:48 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 42032 invoked by uid 89); 17 Mar 2017 02:47:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=reserved X-HELO: relay1.mentorg.com Date: Fri, 17 Mar 2017 02:47:36 +0000 From: Joseph Myers To: CC: Subject: Make alpha termios.h define IXANY unconditionally (bug 21259) Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) sysdeps/unix/sysv/linux/alpha/bits/termios.h defines IXANY only if __USE_MISC. But it's in the base standard for POSIX.1:2008, and XSI-shaded in previous standards. This patch makes the header define it unconditionally, like other versions of this header do (it's always reserved by standards that don't require it, so defining unconditionally is OK by the standards). Tested (compilation only) for alpha with build-many-glibcs.py. Note that there are still termios.h conformtest failures after this patch because of other issues with the alpha version of this header. 2017-03-17 Joseph Myers [BZ #21259] * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define unconditionally, not just for [__USE_MISC]. diff --git a/sysdeps/unix/sysv/linux/alpha/bits/termios.h b/sysdeps/unix/sysv/linux/alpha/bits/termios.h index c64e74a..9deda15 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/termios.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/termios.h @@ -70,9 +70,9 @@ struct termios #define ICRNL 0000400 #define IXON 0001000 #define IXOFF 0002000 +#define IXANY 0004000 #ifdef __USE_MISC /* POSIX.1 doesn't want these... */ -# define IXANY 0004000 # define IUCLC 0010000 # define IMAXBEL 0020000 # define IUTF8 0040000