Bug#662018: No support for CLOCK_MONOTONIC
Package: libc0.1
Version: 2.11.3-2
On 2012-03-02 Robert Millan <rmh@debian.org> wrote:
> El 26 de febrer de 2012 12:51, Andreas Metzler
> <ametzler@downhill.at.eu.org> ha escrit:
>> kfreebsd-amd64 (asdfasdf sid chroot) seems to be missing support for
>> CLOCK_MONOTONIC, although it is defined in time.h. (Both FreeBSD and
>> Linux support this.)
>> This can be verified by building
>> http://open-nandra.com/wp-content/uploads/test_timerc.bz2.
> Thanks for the detailed bug report with test case. For this kind of
> bugs where it's clear which package is affected (libc0.1), I think
> it's better to file a bug report so that it's not forgotten. Please
> could you submit it?
Sure, thank you for the pointer. This issue is present in both sid and
squeeze (libc0.1 2.11.3-2 and 2.13-27).
ametzler@asdfasdf:~$ wget -q -O - http://open-nandra.com/wp-content/uploads/test_timerc.bz2 | bzcat > test_timer.c
ametzler@asdfasdf:~$ gcc -o timercreate -Wall test_timer.c -lrt
test_timer.c: In function ‘main’:
test_timer.c:50: warning: unused variable ‘i’
ametzler@asdfasdf:~$ ./timercreate
timer_create: Invalid argument
timer_settime: Invalid argument
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
Reply to: