From 8b8cc76fa47fe0819e5e52e29c6674e799df646e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 29 Jun 2002 23:35:02 +0000 Subject: Update. 2002-06-18 Amos Waterland * 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. --- rt/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rt/Makefile') diff --git a/rt/Makefile b/rt/Makefile index 47ce1fbe84..5ac4dd4f63 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1997,98,99,2000,01 Free Software Foundation, Inc. +# Copyright (C) 1997-2001, 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 @@ -39,7 +39,8 @@ librt-routines = $(aio-routines) \ $(shm-routines) tests := tst-shm tst-clock tst-timer \ - tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 + tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 \ + tst-aio7 extra-libs := librt extra-libs-others := $(extra-libs) -- cgit 1.4.1