Opened 14 years ago

Closed 14 years ago

#6707 closed bug (fixed)

sleep() apears to have wrong return value

Reported by: scottmc Owned by: phoudoin
Priority: normal Milestone: R1
Component: - General Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

gnulib test suite test test-sleep fails. Attached is a test program that should check this.

Attachments (1)

test-sleep.c (1.7 KB ) - added by scottmc 14 years ago.
this should build with a simple: gcc test-sleep -o test-sleep

Download all attachments as: .zip

Change History (4)

by scottmc, 14 years ago

Attachment: test-sleep.c added

this should build with a simple: gcc test-sleep -o test-sleep

comment:1 by scottmc, 14 years ago

Here's the output I get when running the test program:

~> gcc test-sleep.c -o test-sleep
~> test-sleep
pentecost=4320000, remaining = 1002598 
test-sleep.c:57: assertion failed
Abort
Abort
~> 

comment:2 by phoudoin, 14 years ago

Owner: changed from nobody to phoudoin
Status: newin-progress

comment:3 by phoudoin, 14 years ago

Resolution: fixed
Status: in-progressclosed

Fixed in hrev38903.

Note: See TracTickets for help on using tickets.