projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49400d0
)
2003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
author
Roland McGrath
<roland@gnu.org>
Thu, 6 Mar 2003 19:16:53 +0000
(19:16 +0000)
committer
Roland McGrath
<roland@gnu.org>
Thu, 6 Mar 2003 19:16:53 +0000
(19:16 +0000)
* rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
rt/tst-aio7.c
patch
|
blob
|
history
diff --git
a/rt/tst-aio7.c
b/rt/tst-aio7.c
index
b4903c7
..
b2ba813
100644
(file)
--- a/
rt/tst-aio7.c
+++ b/
rt/tst-aio7.c
@@
-180,6
+180,14
@@
do_test (void)
puts ("aio_suspend([done,blocked],2,3) suspended thread");
++result;
}
+
+ /* Cancel i/o on cb1. */
+ r = aio_cancel (piped[0], &cb1);
+ if (r != AIO_CANCELED)
+ {
+ puts ("aio_cancel did not return AIO_CANCELED");
+ ++result;
+ }
}
return result;