From patchwork Fri Nov 13 16:39:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 1399943 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bell.net Received: from sourceware.org (unknown [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CXkhq38PZz9sSs for ; Sat, 14 Nov 2020 03:39:55 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 409AF393C852; Fri, 13 Nov 2020 16:39:53 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mtlfep01.bell.net (belmont79srvr.owm.bell.net [184.150.200.79]) by sourceware.org (Postfix) with ESMTP id 306AB389C423 for ; Fri, 13 Nov 2020 16:39:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 306AB389C423 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bell.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dave.anglin@bell.net Received: from bell.net mtlfep01 184.150.200.30 by mtlfep01.bell.net with ESMTP id <20201113163950.TJAV120733.mtlfep01.bell.net@mtlspm01.bell.net> for ; Fri, 13 Nov 2020 11:39:50 -0500 Received: from [192.168.2.49] (really [67.70.16.145]) by mtlspm01.bell.net with ESMTP id <20201113163950.XQAD130487.mtlspm01.bell.net@[192.168.2.49]>; Fri, 13 Nov 2020 11:39:50 -0500 To: GNU C Library From: John David Anglin Subject: [PATCH] hppa: Remove obsolete defines for HPUX support from fcntl.h and update O_NONBLOCK Message-ID: <15be3cf4-4222-a709-f4b8-41797364f155@bell.net> Date: Fri, 13 Nov 2020 11:39:51 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 Content-Language: en-US X-CM-Analysis: v=2.3 cv=E9SzWpVl c=1 sm=1 tr=0 a=ch4VMz8uGZlcRCFa+4Q1bQ==:117 a=ch4VMz8uGZlcRCFa+4Q1bQ==:17 a=IkcTkHD0fZMA:10 a=nNwsprhYR40A:10 a=HWb5IXn5F8nbhuERfDwA:9 a=QEXdDO2ut3YA:10 X-CM-Envelope: MS4wfK7oEIcH6yKkeYqR+6VmBc1iKdHCDJAlbRQe5QY7IKglpqBv3egTCNOJkTuljSyZGaodMcjUpZYioTLsitrJoEuqobIUzwMIPSsMZ07KjH80NiVlWQmL G+UWg9WQdTs7QWk9aEn0QaCgkjPAGmaONTJ1e+u2O5sAYiCE2O5d8B1XkDIleE1qEimQhuei4pzf2w== X-Spam-Status: No, score=-9.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Helge Deller Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Remove obsolete defines for HPUX support from fcntl.h and update O_NONBLOCK. This is a small cleanup to make glibc match the current Linux kernel defines. --- sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h index 294d3b5191..47686099a7 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h @@ -24,14 +24,11 @@ #define O_EXCL 00002000 /* not fcntl */ #define O_NOCTTY 00400000 /* not fcntl */ #define O_APPEND 00000010 -#define O_NONBLOCK 00200004 /* HPUX has separate NDELAY & NONBLOCK */ +#define O_NONBLOCK 00200000 #define __O_DSYNC 01000000 -#define __O_RSYNC 02000000 /* HPUX only */ #define __O_SYNC 00100000 #define O_SYNC (__O_SYNC|__O_DSYNC) -#define O_BLKSEEK 00000100 /* HPUX only */ - #define __O_DIRECTORY 000010000 /* Must be a directory. */ #define __O_NOFOLLOW 000000200 /* Do not follow links. */ #define __O_CLOEXEC 010000000 /* Set close_on_exec. */