[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7359: sleep 9999999999
From: |
Pádraig Brady |
Subject: |
bug#7359: sleep 9999999999 |
Date: |
Thu, 11 Nov 2010 08:13:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 |
On 11/11/10 07:21, Michal Svoboda wrote:
> 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.
Nothing is wrong with it, except that it trips
up that old 64 bit linux kernel.
cheers,
Pádraig.
- bug#7359: sleep 9999999999, Matthew Bachmann, 2010/11/09
- bug#7359: sleep 9999999999, Eric Blake, 2010/11/09
- bug#7359: sleep 9999999999, Matthew Bachmann, 2010/11/09
- bug#7359: sleep 9999999999, Pádraig Brady, 2010/11/09
- bug#7359: sleep 9999999999, Matthew Bachmann, 2010/11/10
- bug#7359: sleep 9999999999, Pádraig Brady, 2010/11/10
- bug#7359: sleep 9999999999, Michal Svoboda, 2010/11/11
- bug#7359: sleep 9999999999,
Pádraig Brady <=
- bug#7359: sleep 9999999999, Eric Blake, 2010/11/11