Skip to content
Snippets Groups Projects
Commit e79f9ad6 authored by rswindell's avatar rswindell
Browse files

Try using SH_DENYRW instead of DENYWR.

parent cd23c873
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment