Re: time(1) incorrect (Re) ... times(3) strange; clock_t == long

David Mosberger-Tang (davidm@azstarnet.com)
Mon, 4 Mar 1996 15:43:45 -0700


>>>>> On Thu, 29 Feb 96 16:57:41 +0100, "Fred Roy" <froy@gr.osf.org> said:

Fred> P.S.: could somebody compile it on a recent RedHat AXP Linux
Fred> and tell me if it behaves the same way ? Thanks a lot.

It has the same (erroneous) behavior. I ran across this while working
on GNU libc and it's fixed in my sources now, but I was hoping on not
having to do another libc-4.6.27-based release. If you can't wait to
have this fixed, let me know and I'll see about it.

--david

PS: All it should take is to replace libc/sysdeps/linux/alpha/times.c
with times.S containing the following lines (and updating the
Makefile).

#include <sysdep.h>

SYSCALL__ (times, 1)
RETSYS(__times)