From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5CF291F5AE for ; Wed, 24 Jun 2020 20:40:00 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 53BE239874E1; Wed, 24 Jun 2020 20:39:59 +0000 (GMT) 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 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-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: , Cc: Florian Weimer , GNU C Library , libc-help@sourceware.org, Alistair Francis , Joseph Myers Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" --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--