diff options
author | Roland McGrath <roland@gnu.org> | 2004-12-06 22:29:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-12-06 22:29:01 +0000 |
commit | 60fce589e8c4b177ee5025269987476826ab6b0f (patch) | |
tree | ea2607535f536f8a8ec0df8fac85847b4d16648a /ChangeLog | |
parent | bc5cb1e6aaa5f50f7ec508c1f0c1d8a539da0fcd (diff) | |
download | glibc-60fce589e8c4b177ee5025269987476826ab6b0f.tar.gz glibc-60fce589e8c4b177ee5025269987476826ab6b0f.tar.xz glibc-60fce589e8c4b177ee5025269987476826ab6b0f.zip |
* sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL
for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP. Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value. * rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros. Use them throughout in place of CLOCK_REALTIME and nanosleep. (do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns non-null, punt the test with a message using the string returned. * rt/tst-timer5.c: New file. * rt/Makefile (tests): Add it.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 9903bc9204..1708f2d68b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2004-12-06 Roland McGrath <roland@redhat.com> + + * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL + for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP. + Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value. + + * rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros. + Use them throughout in place of CLOCK_REALTIME and nanosleep. + (do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns + non-null, punt the test with a message using the string returned. + * rt/tst-timer5.c: New file. + * rt/Makefile (tests): Add it. + 2004-12-01 Paolo Bonzini <bonzini@gnu.org> * posix/regcomp.c (free_dfa_content, init_dfa): Remove |