Bug#662018: No support for CLOCK_MONOTONIC
On 2012-03-02 Robert Millan <firstname.lastname@example.org> wrote:
> El 26 de febrer de 2012 12:51, Andreas Metzler
> <email@example.com> 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
> 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’
timer_create: Invalid argument
timer_settime: Invalid argument
`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'