mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Update.
* rt/tst-aio.c: Add test for aio_read and lio_listio. * rt/lio_listio.c: Correct total counter handling. * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements from request queue. * test-skeleton.c (main): Make stdout unbuffered. Improve message of signal on exit even more.
This commit is contained in:
@@ -476,6 +476,8 @@ handle_fildes_io (void *arg)
|
||||
runp->next_fd->last_fd = runp->last_fd;
|
||||
if (runp->last_fd != NULL)
|
||||
runp->last_fd->next_fd = runp->next_fd;
|
||||
else
|
||||
requests = runp->next_fd;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -486,6 +488,8 @@ handle_fildes_io (void *arg)
|
||||
runp->next_fd->last_fd = runp->next_prio;
|
||||
if (runp->last_fd != NULL)
|
||||
runp->last_fd->next_fd = runp->next_prio;
|
||||
else
|
||||
requests = runp->next_prio;
|
||||
}
|
||||
|
||||
/* Free the old element. */
|
||||
|
Reference in New Issue
Block a user