* 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

@@ -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
*/