From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:44111 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753547AbcHRI7P (ORCPT ); Thu, 18 Aug 2016 04:59:15 -0400 From: Andreas Schwab To: Florian Weimer Cc: Jeff Layton , libc-alpha@sourceware.org, linux-fsdevel@vger.kernel.org, Michael Kerrisk , "Carlos O'Donell" , Yuriy Kolerov Subject: Re: [glibc PATCH] fcntl: put F_OFD_* constants under #ifdef __USE_FILE_OFFSET64 References: <1471445251-2450-1-git-send-email-jlayton@redhat.com> <024779d0-2800-8e43-b65c-180eca70cc8b@redhat.com> <1471455596.3196.36.camel@redhat.com> <1471458074.3196.67.camel@redhat.com> <9a96f830-ad56-91fe-1293-1d38d9195e49@redhat.com> <1471461603.3196.105.camel@redhat.com> <560d7245-ab98-2050-d99a-f3ed6d949ea2@redhat.com> Date: Thu, 18 Aug 2016 10:58:46 +0200 In-Reply-To: <560d7245-ab98-2050-d99a-f3ed6d949ea2@redhat.com> (Florian Weimer's message of "Thu, 18 Aug 2016 10:44:14 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Aug 18 2016, Florian Weimer wrote: > We should deprecate F_SETLK64 and struct lock64, too, and document that > you should use _FILE_OFFSET_BITS == 64 if you need such locks. That, and > make fcntl type-safe (for both C and C++ with sufficiently recent GCC). There is also _LARGEFILE64_SOURCE which enables the *64 API without making it the default. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."