From patchwork Thu Nov 7 09:00:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Adhemerval Zanella (Code Review)" X-Patchwork-Id: 1190999 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-106735-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gnutoolchain-gerrit.osci.io Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="GENxGANR"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 477y7H4FfYz9sP6 for ; Thu, 7 Nov 2019 20:01:14 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:in-reply-to:references :reply-to:mime-version:content-transfer-encoding:content-type :message-id; q=dns; s=default; b=NPsAVZBg4l/RuNXj1NMLq/RDfIakXRz yuPCFQIWthmTrp/QF86KbU4Qo1YAKdsqiBAkcB4R71dnZwXPRM5SSMEnGKZ64bOy H38hNMM3wTooDid51zk9TEHFyU5TzvwwdVQJp9ZY8lk47ljXo14Cuihuzg8buU6g j1xnarDUP//8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:in-reply-to:references :reply-to:mime-version:content-transfer-encoding:content-type :message-id; s=default; bh=7y9TJtb+VNsfY7DCekYYMA1kju8=; b=GENxG ANRo8f6E1MiuVjB4GR2T09bhQYVJMbTo04Mvm3dN5wbkRrv0oY0+TzxfA8z+TdjJ B9/mxnaTyxf/Y+Zy4ce+tf9D51YU0S2p2+lDubNvI/0u4jVtz5rbZlUzgnp89zHG 0DfJYEh9qIBsGZrunJg3vhMTIfTPpqkmD0n8UY= Received: (qmail 43019 invoked by alias); 7 Nov 2019 09:01:05 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 42617 invoked by uid 89); 7 Nov 2019 09:00:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy= X-HELO: mx1.osci.io X-Gerrit-PatchSet: 2 Date: Thu, 7 Nov 2019 04:00:12 -0500 From: "Sourceware to Gerrit sync (Code Review)" To: Florian Weimer , libc-alpha@sourceware.org Cc: Adhemerval Zanella Auto-Submitted: auto-generated X-Gerrit-MessageType: merged Subject: [pushed] hurd: Remove lingering references to the time function X-Gerrit-Change-Id: I37bc20f3449b9e358f32879ed231720c969965b4 X-Gerrit-Change-Number: 505 X-Gerrit-ChangeURL: X-Gerrit-Commit: 50471a8613dc487dce8b7cabc35a01b4b5b242ea In-Reply-To: References: Reply-To: noreply@gnutoolchain-gerrit.osci.io, adhemerval.zanella@linaro.org, fweimer@redhat.com, libc-alpha@sourceware.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: Gerrit/3.0.3-75-g9005159e5d Message-Id: <20191107090012.51EC02816A@gnutoolchain-gerrit.osci.io> Sourceware to Gerrit sync has submitted this change. Change URL: https://gnutoolchain-gerrit.osci.io/r/c/glibc/+/505 ...................................................................... hurd: Remove lingering references to the time function They cause a check-localplt failure after commit f9a7554009cf38f39. Fixes: f9a7554009cf38f390e74fcabc5b49f974f72382 Reviewed-by: Samuel Thibault Change-Id: I37bc20f3449b9e358f32879ed231720c969965b4 --- M sysdeps/mach/sleep.c 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/mach/sleep.c b/sysdeps/mach/sleep.c index b30ec7b..267928e 100644 --- a/sysdeps/mach/sleep.c +++ b/sysdeps/mach/sleep.c @@ -33,10 +33,10 @@ recv = __mach_reply_port (); - before = time (NULL); + before = time_now (); (void) __mach_msg (NULL, MACH_RCV_MSG|MACH_RCV_TIMEOUT|MACH_RCV_INTERRUPT, 0, 0, recv, seconds * 1000, MACH_PORT_NULL); - after = time (NULL); + after = time_now (); __mach_port_destroy (__mach_task_self (), recv); return seconds - (after - before);