diff options
author | Russ Cox <rsc@swtch.com> | 2009-04-30 07:22:17 -0700 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2009-04-30 07:22:17 -0700 |
commit | e10a834215255e9ed8a70f69e9bacd088dcca8a5 (patch) | |
tree | 182f9583e1e2c58f36a2975049bf05c7ce7a3799 /src/cmd/9pfuse | |
parent | 8c24e687b3678061640054aeea9c92d0a66555df (diff) | |
download | plan9port-e10a834215255e9ed8a70f69e9bacd088dcca8a5.tar.gz plan9port-e10a834215255e9ed8a70f69e9bacd088dcca8a5.tar.bz2 plan9port-e10a834215255e9ed8a70f69e9bacd088dcca8a5.zip |
9pfuse: clear O_EXCL too
Diffstat (limited to 'src/cmd/9pfuse')
-rw-r--r-- | src/cmd/9pfuse/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9pfuse/main.c b/src/cmd/9pfuse/main.c index c3b4a52f..e319f36b 100644 --- a/src/cmd/9pfuse/main.c +++ b/src/cmd/9pfuse/main.c @@ -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){ |