URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=16913>
Summary: sleep fails to detect overflow on amd64 / linux 2.6
Project: GNU Core Utilities
Submitted by: None
Submitted on: Thursday 06/22/2006 at 14:54 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
sleep 10000000000 -> returns immediately with exit code 0
sleep 1000000000 -> sleeps
sleep 100000000000 -> sleeps
Not really sane amounts of seconds to sleep but on the other hand there is
some code in xnanosleep.c to handle overflow conditions.
More details about the underlying bug in nanosleep() in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374983
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=16913>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils