From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from port70.net (port70.net [81.7.13.123]) by sourceware.org (Postfix) with ESMTP id D6F3B3858D35 for ; Wed, 28 Jun 2023 19:19:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D6F3B3858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=port70.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=port70.net Received: by port70.net (Postfix, from userid 1002) id E2FD8ABEC0C7; Wed, 28 Jun 2023 21:19:47 +0200 (CEST) Date: Wed, 28 Jun 2023 21:19:47 +0200 From: Szabolcs Nagy To: Paul Eggert Cc: Rich Felker , linux-man@vger.kernel.org, musl@lists.openwall.com, libc-alpha@sourceware.org, libc-coord@lists.openwall.com Subject: Re: regression in man pages for interfaces using loff_t Message-ID: <20230628191947.GE3630668@port70.net> Mail-Followup-To: Paul Eggert , Rich Felker , linux-man@vger.kernel.org, musl@lists.openwall.com, libc-alpha@sourceware.org, libc-coord@lists.openwall.com References: <20230628175329.GA16113@brightrain.aerifal.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * Paul Eggert [2023-06-28 11:21:39 -0700]: > On 2023-06-28 10:53, Rich Felker wrote: > > The whole reason loff_t exists is to avoid this problem and make a > > type that's "always full width offset, regardless of _FILE_OFFSET_BITS > > or _LARGEFILE64_SOURCE" to match with the kernel expectation for these > > interfaces. > > Why can't off64_t be that type, as it is in glibc? I'm not seeing why we > need two names for the same type. umm because off64_t is not a defined type? https://godbolt.org/z/9sf6n8Y3e