From patchwork Fri Jul 24 19:32:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 7842 Received: (qmail 25597 invoked by alias); 24 Jul 2015 19:32:50 -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 25546 invoked by uid 89); 24 Jul 2015 19:32:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [COMMITTED PATCH] NaCl: Remove bogus O_SHLOCK, O_EXLOCK definitions. Message-Id: <20150724193246.81C562C3B34@topped-with-meat.com> Date: Fri, 24 Jul 2015 12:32:46 -0700 (PDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=SvUDtp+0 c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=hOe2yjtxAAAA:8 a=kj9zAlcOel0A:10 a=Adu7Ud8zs_XY7o6eYi4A:9 a=CjuIK1q_8ugA:10 These obviously should never have been left in with XXX as their values. I had left those placeholders because I thought I might figure out values to use. But there aren't any, and nothing really needs them. So just remove them. Thanks, Roland 2015-07-24 Roland McGrath * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed. diff --git a/sysdeps/nacl/bits/fcntl.h b/sysdeps/nacl/bits/fcntl.h index ceef8df..89aab00 100644 --- a/sysdeps/nacl/bits/fcntl.h +++ b/sysdeps/nacl/bits/fcntl.h @@ -35,10 +35,6 @@ #define O_ASYNC 020000 /* Send SIGIO to owner when data is ready. */ #define O_FSYNC 010000 /* Synchronous writes. */ #define O_SYNC O_FSYNC -#ifdef __USE_MISC -# define O_SHLOCK XXX /* Open with shared file lock. */ -# define O_EXLOCK XXX /* Open with shared exclusive lock. */ -#endif #ifdef __USE_XOPEN2K8 # define O_DIRECTORY 00200000 /* Must be a directory. */ # define O_NOFOLLOW 00400000 /* Do not follow links. */