[Bug 603] New: sleep(1) exits immediately when FANCY_SLEEP and/or FLOAT_SLEEP are enabled

bugzilla at busybox.net bugzilla at busybox.net
Wed Sep 9 16:14:25 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=603

           Summary: sleep(1) exits immediately when FANCY_SLEEP and/or
                    FLOAT_SLEEP are enabled
           Product: Busybox
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: ryan.thompson at vecima.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


*** busybox version 1.15.0 ***

No matter what duration I feed to sleep(1), it exits immediately. sleep(3)
itself works fine on the target. The problem only occurs when
CONFIG_FEATURE_FANCY_SLEEP and CONFIG_FEATURE_FLOAT_SLEEP are enabled.

Example output:

# sleep         
BusyBox v1.15.0 (2009-09-08 16:05:44 CST) multi-call binary
...
# time sleep 10
real    0m 0.00s
user    0m 0.00s
sys    0m 0.00s
# time sleep 10s
real    0m 0.00s
user    0m 0.00s
sys    0m 0.00s
# time sleep 10m
real    0m 0.00s
user    0m 0.00s
sys    0m 0.00s
# sleep 10
# echo $?
0


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list