GNU bug report logs -
#22495
sleep: doc: mention approximate sleep time
Previous Next
To reply to this bug, email your comments to 22495 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#22495
; Package
coreutils
.
(Sat, 30 Jan 2016 21:04:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Sat, 30 Jan 2016 21:04:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
(info "(coreutils) sleep invocation")
Historical implementations of ‘sleep’ have required that NUMBER be an
integer, and only accepted a single argument without a suffix. However,
GNU ‘sleep’ accepts arbitrary floating point numbers. *Note Floating
point::.
Add:
*GNU sleep will pass that floating number to the system, which might or
might not ignore the time indicated after the decimal point.
OR
*GNU sleep will round / truncate? the number into a whole number, before
sending it to the system.
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#22495
; Package
coreutils
.
(Sat, 30 Jan 2016 22:19:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 22495 <at> debbugs.gnu.org (full text, mbox):
積丹尼 Dan Jacobson wrote:
> Add:
>
> *GNU sleep will pass that floating number to the system, which might or
> might not ignore the time indicated after the decimal point.
>
> OR
>
> *GNU sleep will round / truncate? the number into a whole number, before
> sending it to the system.
"sleep" has always been approximate. If you issue a "sleep X" command, all that
you can count on is that you sleep for at least X seconds. We shouldn't
document the internals of how "sleep" accomplishes this. That being said, it
might make sense to say "sleep is approximate", if we're not saying it already.
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#22495
; Package
coreutils
.
(Sun, 31 Jan 2016 01:06:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 22495 <at> debbugs.gnu.org (full text, mbox):
I can't tell if you are like the IRS: go ahead and add cents if you
insist. We'll do the truncation work for you. Or if you are saying that
you will be passing the cents along to the next layer...
I mean you even add additional arguments for him, so who knows the
motivation for all that flexibility.
Nobody can tell if you mean you are just tidying (int()) up his input
before passing it to a deeper layer that only takes ints.
Or if you are now "no longer unnecessarily not allowing the user to pass
floats if he wants. Which will be presented unharmed to the next layer."
Severity set to 'wishlist' from 'normal'
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 25 Oct 2018 15:27:02 GMT)
Full text and
rfc822 format available.
Changed bug title to 'sleep: doc: mention approximate sleep time' from 'sleep floating point docs'
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 25 Oct 2018 15:27:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 239 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.