From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by sourceware.org (Postfix) with ESMTPS id 71543386FC0C for ; Wed, 19 May 2021 09:04:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 71543386FC0C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=lukma@denx.de Received: from ktm (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 50B3A82CF1; Wed, 19 May 2021 11:04:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1621415044; bh=4Bxt/hl4jyFhKgLV53L6HaXmOg9dxe4slBc6S9PmRfc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=T5ATqqCZJDXbh9+wSWcawImTLlnQVBX6e1b8U165scvON5hjhZ6ZcM+OkwLAsvzxg zDdeIXlwI46hMoUqWJr+HdIiV8oXqHD4X8v2gbUIfFtlASvuKxeWDZZ3NFB1jnjDIi lGX1cNfbhuoUi0XWBvdtbwvsOvORXrnEYz+UHZIJNMITgfrcyRYwbm3rXeWucaIzPJ JyVx3JbqKcUFPoDoRJsa/U2mKq19iYKUDMGYJyuowbwVsEdDCE0EGi5zpkA62fV+Ig tq1jxk+fC+R/l6Y1BrP0spZns2AtaLF3cYDjVfzSk+S0UxXLSCufRWkxakyWXEB+8l iM8TSZokjyUSg== Date: Wed, 19 May 2021 11:04:03 +0200 From: Lukasz Majewski To: Adhemerval Zanella Cc: libc-alpha@sourceware.org, Carlos O'Donell Subject: Re: [PATCH v2 11/25] y2038: Add __USE_TIME_BITS64 support for struct utimbuf Message-ID: <20210519110403.411b7970@ktm> In-Reply-To: <20210518205613.1487824-12-adhemerval.zanella@linaro.org> References: <20210518205613.1487824-1-adhemerval.zanella@linaro.org> <20210518205613.1487824-12-adhemerval.zanella@linaro.org> Organization: denx.de X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/Msdhej6FNfaRppTsqPsbFBy"; protocol="application/pgp-signature" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_PASS, TXREP 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: , X-List-Received-Date: Wed, 19 May 2021 09:04:06 -0000 --Sig_/Msdhej6FNfaRppTsqPsbFBy Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 18 May 2021 17:55:59 -0300 Adhemerval Zanella wrote: > The __USE_TIME_BITS64 is not defined internally yet. > --- > io/utime.h | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/io/utime.h b/io/utime.h > index df2299e406..c7612d0838 100644 > --- a/io/utime.h > +++ b/io/utime.h > @@ -35,8 +35,13 @@ __BEGIN_DECLS > /* Structure describing file times. */ > struct utimbuf > { > +#ifdef __USE_TIME_BITS64 > + __time64_t actime; /* Access time. */ > + __time64_t modtime; /* Modification time. */ > +#else > __time_t actime; /* Access time. */ > __time_t modtime; /* Modification time. */ > +#endif > }; > =20 > /* Set the access and modification times of FILE to those given in Reviewed-by: Lukasz Majewski Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/Msdhej6FNfaRppTsqPsbFBy Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAmCk1IMACgkQAR8vZIA0 zr3k4AgAkWROL160SHZ/2BbVHd9ukxsZApCxUFmCXZGw0EhAaS3Kmr6yISkRsNtU kBHnwLmuiLki1JggCVl5/aRN9O63JovlCmLjQBdoZp3Gp7FDnxGaPbvFJHun575D Vr7wSkNg5N7iM71WA5MiXQ4tNlZgz9aFyDko/okk8YWrAZKoECkUGHL5xM39Yuqb ViOGLCk0OuMNrMVffPMDYL0c8y5W4SzOCUiSIxsftJZvgvyZMeoCfXxBgxfN5YXD qapFyKQtXf704J5VVGmJBq4zIPa6srK8FUQ14hS7NOUqF+LyfQi0VWuiMd2R05hI Wpijb8EBKRDqwM+vqm+kIAWlG4PGRg== =ivVE -----END PGP SIGNATURE----- --Sig_/Msdhej6FNfaRppTsqPsbFBy--