* winsup.api/known_bugs.tcl: Remove fcntl09 and fcntl10. These

tests had a compatibility bug.
	* winsup.api/ltp/fcntl09.c: Don't use F_RDLCK | F_WRLCK but only
	F_WRLCK to set a write lock.
	* winsup.api/ltp/fcntl10.c: Ditto.
This commit is contained in:
Corinna Vinschen 2003-12-01 17:33:11 +00:00
parent 18dcb16757
commit bd16a3a8a8
4 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2003-12-01 Corinna Vinschen <corinna@vinschen.de>
* winsup.api/known_bugs.tcl: Remove fcntl09 and fcntl10. These
tests had a compatibility bug.
* winsup.api/ltp/fcntl09.c: Don't use F_RDLCK | F_WRLCK but only
F_WRLCK to set a write lock.
* winsup.api/ltp/fcntl10.c: Ditto.
2003-11-25 Christopher Faylor <cgf@redhat.com>
* winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works.

View File

@ -1,5 +1,5 @@
set xfail_list [list dup03 dup05 \
fcntl05 fcntl07B fcntl09 fcntl10 \
fcntl05 fcntl07B \
lseek04 mknod01 select03 \
setgroups01 setuid02 \
ulimit01 unlink06 unlink08 \

View File

@ -161,7 +161,13 @@ main(int ac, char **av)
/* reset Tst_count in case we are looping. */
Tst_count=0;
#if 0
/* Ouch! Either read *or* write lock, but not both!
This code depends on F_RDLCK being 0. */
flocks.l_type = F_RDLCK | F_WRLCK;
#else
flocks.l_type = F_WRLCK;
#endif
/*
* Call fcntl(2) with F_SETLK argument on fname
*/

View File

@ -161,7 +161,13 @@ main(int ac, char **av)
/* reset Tst_count in case we are looping. */
Tst_count=0;
#if 0
/* Ouch! Either read *or* write lock, but not both!
This code depends on F_RDLCK being 0. */
flocks.l_type = F_RDLCK | F_WRLCK;
#else
flocks.l_type = F_WRLCK;
#endif
/*
* Call fcntl(2) with F_SETLKW flocks.l_type = F_UNLCK argument on fname
*/