From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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 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-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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, 24 Jun 2020 12:43:10 -0000 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."