This is needed to run Python on the Hurd, especially during the build of python-boot0. Adapted from https://salsa.debian.org/glibc-team/glibc/-/blob/glibc-2.31/debian/patches/hurd-i386/unsubmitted-clock_t_centiseconds.diff commit d57f2f9b4bd007846af2fb4217486ea572579010 Author: Richard Braun Date: Tue Aug 27 11:35:31 2013 +0200 Express CPU time (clock_t of times(2)) in centiseconds From 170c292b643fdc1eb56881e6592b07c0c019993e Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Mon, 2 Mar 2020 18:28:54 +0100 Subject: [PATCH 1/2] Express CPU time (clock_t) in centiseconds --- sysdeps/mach/hurd/clock.c | 8 ++++---- sysdeps/mach/hurd/getclktck.c | 5 ++--- sysdeps/mach/hurd/setitimer.c | 2 +- sysdeps/mach/hurd/times.c | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/sysdeps/mach/hurd/clock.c b/sysdeps/mach/hurd/clock.c index 7cb42df786..4db49b579d 100644 --- a/sysdeps/mach/hurd/clock.c +++ b/sysdeps/mach/hurd/clock.c @@ -44,10 +44,10 @@ clock (void) if (err) return __hurd
aboutsummaryrefslogtreecommitdiff
diff options
context: