This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [review] hurd: Remove lingering references to the time function


Florian Weimer (Code Review), le lun. 04 nov. 2019 03:59:18 -0500, a ecrit:
> 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
> Change-Id: I37bc20f3449b9e358f32879ed231720c969965b4

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

Thanks!

> ---
> 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);
> 
> -- 
> Gerrit-Project: glibc
> Gerrit-Branch: master
> Gerrit-Change-Id: I37bc20f3449b9e358f32879ed231720c969965b4
> Gerrit-Change-Number: 505
> Gerrit-PatchSet: 1
> Gerrit-Owner: Florian Weimer <fweimer@redhat.com>
> Gerrit-MessageType: newchange
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]