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.7 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 030C31F5AE for ; Wed, 24 Jun 2020 12:43:15 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 89076398752D; Wed, 24 Jun 2020 12:43:11 +0000 (GMT) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id 2D2023987505; Wed, 24 Jun 2020 12:43:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2D2023987505 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=schwab@suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id D36CCACED; Wed, 24 Jun 2020 12:43:07 +0000 (UTC) From: Andreas Schwab To: Lukasz Majewski Subject: Re: [Y2038] Replacement of struct timespec with struct __timespec64 in glibc internal code References: <20200601140740.16371-1-lukma@denx.de> <20200603145347.4025892b@jawa> <20200624142603.3bb82862@jawa> X-Yow: It don't mean a THING if you ain't got that SWING!! Date: Wed, 24 Jun 2020 14:43:05 +0200 In-Reply-To: <20200624142603.3bb82862@jawa> (Lukasz Majewski's message of "Wed, 24 Jun 2020 14:26:03 +0200") Message-ID: <878sgcws6e.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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" On Jun 24 2020, Lukasz Majewski wrote: > As I stated above - e.g. timespec_sub() helper function (from /support) > is used by both pthreats and tests. 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. The functions in support/timespec-*.c should probably be renamed to xtimespec_*. Andreas. -- 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."