diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-06-29 23:35:02 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-06-29 23:35:02 +0000 |
commit | 8b8cc76fa47fe0819e5e52e29c6674e799df646e (patch) | |
tree | bf5c673ddb4307546d7e337c2722bc5a9f8352a1 /rt/tst-aio6.c | |
parent | eabea97226515d709064e07485caeb41d413ca44 (diff) | |
download | glibc-8b8cc76fa47fe0819e5e52e29c6674e799df646e.tar.gz glibc-8b8cc76fa47fe0819e5e52e29c6674e799df646e.tar.xz glibc-8b8cc76fa47fe0819e5e52e29c6674e799df646e.zip |
Update.
2002-06-18 Amos Waterland <apw@us.ibm.com> * sysdeps/pthread/aio_cancel.c (aio_cancel): Add check for invalid file descriptor. * sysdeps/pthread/aio_fsync.c (aio_fsync): Add check for invalid fd; add check for fd not open for writing. * sysdeps/pthread/aio_suspend.c (aio_suspend): Add check for completed element(s) and do not suspend thread if so. Patch heavily modified by drepper. * rt/tst-aio7.c: New file. Regression test for problems which the above three changes fix. * rt/Makefile (tests): Add tst-aio7. * rt/tst-aio6.c: Fix comment.
Diffstat (limited to 'rt/tst-aio6.c')
-rw-r--r-- | rt/tst-aio6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/tst-aio6.c b/rt/tst-aio6.c index 58695f5260..b2da94233b 100644 --- a/rt/tst-aio6.c +++ b/rt/tst-aio6.c @@ -1,5 +1,5 @@ /* Test for timeout handling. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -67,7 +67,7 @@ do_test (void) /* Get the current time. */ gettimeofday (&before, NULL); - /* Wait for input which is unsuccess and therefore the function will + /* Wait for input which is unsuccessful and therefore the function will time out. */ timeout.tv_sec = 3; timeout.tv_nsec = 0; |