From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by sourceware.org (Postfix) with ESMTPS id 5E34A386F012; Wed, 24 Jun 2020 20:39:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5E34A386F012 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=lukma@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 49sZlG3ZFyz1qs0V; Wed, 24 Jun 2020 22:39:54 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 49sZlG29C3z1r56j; Wed, 24 Jun 2020 22:39:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id XOOx8NkYO7gm; Wed, 24 Jun 2020 22:39:52 +0200 (CEST) X-Auth-Info: iNlQ0LcnLLul3PFeOs2CR8muNL6Y3B7FJJM07qdmlXQ= Received: from jawa (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 24 Jun 2020 22:39:52 +0200 (CEST) Date: Wed, 24 Jun 2020 22:39:51 +0200 From: Lukasz Majewski To: Andreas Schwab Cc: Joseph Myers , Paul Eggert , Adhemerval Zanella , Florian Weimer , GNU C Library , , Alistair Francis Subject: Re: [Y2038] Replacement of struct timespec with struct __timespec64 in glibc internal code Message-ID: <20200624223951.46056c9c@jawa> In-Reply-To: <878sgcws6e.fsf@igel.home> References: <20200601140740.16371-1-lukma@denx.de> <20200603145347.4025892b@jawa> <20200624142603.3bb82862@jawa> <878sgcws6e.fsf@igel.home> Organization: denx.de X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/qhcJHWd6uNWFZveGfW8YTaE"; protocol="application/pgp-signature" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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, 24 Jun 2020 20:39:57 -0000 --Sig_/qhcJHWd6uNWFZveGfW8YTaE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Andreas, > On Jun 24 2020, Lukasz Majewski wrote: >=20 > > As I stated above - e.g. timespec_sub() helper function (from > > /support) is used by both pthreats and tests. =20 >=20 > There are two definitions of timespec_sub, in support/timespec-sub.c > and in sysdeps/pthread/posix-timer.h. The former is for use in > tests, the latter is used by libpthread. So if I understood it correctly - the support/* functions are to facilitate writing tests? >=20 > The functions in support/timespec-*.c should probably be renamed to > xtimespec_*. And the 'x' prefix means that those functions are supposed to be used for testing? >=20 > Andreas. >=20 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_/qhcJHWd6uNWFZveGfW8YTaE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAl7zuhcACgkQAR8vZIA0 zr2XWwf/UXQ3NUx0uLCpfJn9TlPhOi2xImnBowJBcdJ7dZN2pgExObV680t7/avv E8P0NrN1RJ7tqrpwzlKTVz8pYdXJ0xYx5CizSvuiaipPBSds0KKUBpEckADv3Q3c JFHf64Rxs3kJ5XlqDG0sfyl4TX7kO1WTPXcZwTJSeWUpsIZ437cZuI2RkGiJ2Y25 /JLzm5yi3kCAGwnrBuCLzgfOCk35LKi1Gepvbg9eaXTOS9SSkKFZi0M8PJJlK4Km +BSBEN0nTjP8AEbp218YEKXAZyTsLh0LbH4oCSngukweNT+KNFBIQFI5gdJEtXuZ fPlc4k1GlsljkGu667hWaQU3ZqYEMw== =SHbv -----END PGP SIGNATURE----- --Sig_/qhcJHWd6uNWFZveGfW8YTaE--