bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: uptime on GNU]


From: Paul Eggert
Subject: Re: address@hidden: uptime on GNU]
Date: Tue, 04 Jan 2005 11:21:18 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

"Alfred M. Szmidt" <address@hidden> writes:

>    The proposed patch sometimes generates a result that is off by 1.
>    If the boot time is 1.9 seconds after the epoch, and the current
>    time is 2.1 seconds after the epoch, it will report an uptime of 1
>    second (2.0 - 1.0) instead of the correct 0 seconds (2.1 - 1.9,
>    then truncated).
>
> Weird.  How did you test that?

I didn't test it (I don't have easy access to GNU/Hurd).  It was just
code inspection.  Obviously it's a minor point, but you might as well
get it "right".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]