t9pfuse: clear O_EXCL too - 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 e10a834215255e9ed8a70f69e9bacd088dcca8a5
(DIR) parent 8c24e687b3678061640054aeea9c92d0a66555df
(HTM) Author: Russ Cox <rsc@swtch.com>
Date: Thu, 30 Apr 2009 07:22:17 -0700
9pfuse: clear O_EXCL too
Diffstat:
M src/cmd/9pfuse/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/9pfuse/main.c b/src/cmd/9pfuse/main.c
t@@ -707,7 +707,7 @@ fusecreate(FuseMsg *m)
flags = in->flags;
openmode = in->flags&3;
flags &= ~3;
- flags &= ~(O_DIRECTORY|O_NONBLOCK|O_LARGEFILE);
+ flags &= ~(O_DIRECTORY|O_NONBLOCK|O_LARGEFILE|O_EXCL);
flags &= ~O_APPEND; /* see comment in _fuseopen */
flags &= ~(O_CREAT|O_TRUNC); /* huh? */
if(flags){