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-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.
set xfail_list [list dup03 dup05 \
- fcntl05 fcntl07B fcntl09 fcntl10 \
+ fcntl05 fcntl07B \
lseek04 mknod01 select03 \
setgroups01 setuid02 \
ulimit01 unlink06 unlink08 \
/* 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
*/
/* 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
*/