bug-coreutils
[Top][All Lists]
Advanced

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

bug#7359: sleep 9999999999


From: Michal Svoboda
Subject: bug#7359: sleep 9999999999
Date: Thu, 11 Nov 2010 08:21:17 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Pádraig Brady wrote:
> > address@hidden,d1r17733u07 | strace -e nanosleep sleep 9999999999
> > nanosleep({9999999999, 0}, NULL)        = 0

Just out of curiosity, what's wrong with nanosleep({9999999999, 0} ?

The first argument should be time_t, which should not be prone to
something stupid like overflowing at 2 (or 4) billion or so.

Michal Svoboda





reply via email to

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