El 22 de març de 2012 19:58, Robert Millan <[email protected]> ha escrit:
> This smells like #662018.
>
> I'll see if I can spend some time on it (this weekend if noone beats me to
> it).
Please could someone test this? It's not correct, but it should do the trick.
--
Robert Millan
Index: eglibc-2.13/linuxthreads/sysdeps/pthread/timer_create.c
===================================================================
--- eglibc-2.13.orig/linuxthreads/sysdeps/pthread/timer_create.c
2012-03-22 20:32:57.000000000 +0100
+++ eglibc-2.13/linuxthreads/sysdeps/pthread/timer_create.c 2012-03-22
20:56:49.479267912 +0100
@@ -52,7 +52,7 @@
return -1;
}
- if (clock_id != CLOCK_REALTIME)
+ if (clock_id != CLOCK_REALTIME && clock_id != CLOCK_MONOTONIC)
{
__set_errno (EINVAL);
return -1;