better locking
This commit is contained in:
parent
f1007ee0c6
commit
1b827fbc0c
1 changed files with 1 additions and 0 deletions
|
|
@ -278,6 +278,7 @@ sysopen(char *path, char *mode, ulong perm)
|
||||||
break;
|
break;
|
||||||
case 'l':
|
case 'l':
|
||||||
sysperm |= DMEXCL;
|
sysperm |= DMEXCL;
|
||||||
|
sysmode |= OLOCK;
|
||||||
break;
|
break;
|
||||||
case 'a':
|
case 'a':
|
||||||
sysperm |= DMAPPEND;
|
sysperm |= DMAPPEND;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue