tbetter locking - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1b827fbc0c19f544dad91ea65422796d2a31dca1
(DIR) parent f1007ee0c6a2dfdc5512a1be3dada65cbc5d5391
(HTM) Author: rsc <devnull@localhost>
Date: Sun, 21 May 2006 18:40:15 +0000
better locking
Diffstat:
M src/cmd/upas/common/libsys.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/src/cmd/upas/common/libsys.c b/src/cmd/upas/common/libsys.c
t@@ -278,6 +278,7 @@ sysopen(char *path, char *mode, ulong perm)
break;
case 'l':
sysperm |= DMEXCL;
+ sysmode |= OLOCK;
break;
case 'a':
sysperm |= DMAPPEND;