From e79f9ad6a125b5ac82b999b0b219940f535519a4 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Tue, 8 Apr 2003 05:57:06 +0000 Subject: [PATCH] Try using SH_DENYRW instead of DENYWR. --- src/xpdev/wraptest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpdev/wraptest.c b/src/xpdev/wraptest.c index 103ff53fa6..3f54f5d7c9 100644 --- a/src/xpdev/wraptest.c +++ b/src/xpdev/wraptest.c @@ -298,7 +298,7 @@ static void sopen_child_thread(void* arg) int fd; printf("sopen_child_thread: %d begin\n",(int)arg); - if((fd=sopen(LOCK_FNAME,O_RDWR,SH_DENYWR))!=-1) { + if((fd=sopen(LOCK_FNAME,O_RDWR,SH_DENYRW))!=-1) { if(arg) printf("!FAILURE: was able to reopen in child thread\n"); else { -- GitLab