From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 028503858C54 for ; Thu, 25 May 2023 09:00:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 028503858C54 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 21E231FD7A; Thu, 25 May 2023 09:00:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1685005247; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=329k7jEx6WVW6hUNEYbo7fTmKoq+naUaFXqrVcRT2ww=; b=h072UZWjpaWY9+izIsJhNmAXEQbXxiqoDvD45X3cas9nAnjpYVDwDNyCngcdqawycvDuR0 vXzc0uv8L2uwd0LVchi8pgu6hDH5PRyQBxczobcOR+O51b1OJuxTNnODbIhKwRbVLXUAdU Oj+2OeO0aHK5QPGM+eeF7tIRu6kUQN4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1685005247; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=329k7jEx6WVW6hUNEYbo7fTmKoq+naUaFXqrVcRT2ww=; b=TroM3l71PU5n/4TTmCmzXO5cwm/u0UyJ2m+17irnfnHsGBOu5nMpP+HUKlZfgHj7m8lpaP TzWuFq8HWbujmHBg== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id E64712C141; Thu, 25 May 2023 09:00:46 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id D87344AAD81; Thu, 25 May 2023 11:00:46 +0200 (CEST) From: Andreas Schwab To: Adhemerval Zanella via Libc-alpha Cc: Bo YU , Adhemerval Zanella Subject: Re: [PATCH] io: Fix record locking contants on 32 bit arch with 64 bit default time_t (BZ#30477) In-Reply-To: <20230524193127.2720861-1-adhemerval.zanella@linaro.org> (Adhemerval Zanella via Libc-alpha's message of "Wed, 24 May 2023 16:31:27 -0300") References: <20230524193127.2720861-1-adhemerval.zanella@linaro.org> X-Yow: Jesus is my POSTMASTER GENERAL.. Date: Thu, 25 May 2023 11:00:46 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_NONE,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: On Mai 24 2023, Adhemerval Zanella via Libc-alpha wrote: > diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h > index ca6a0d7516..3c15625599 100644 > --- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h > +++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h > @@ -101,7 +101,7 @@ > #endif > > #ifndef F_GETLK > -# ifndef __USE_FILE_OFFSET64 > +# if !defined(__USE_FILE_OFFSET64) && __TIMESIZE != 64 The defined operator does not need parens. -- 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."