plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit e10a834215255e9ed8a70f69e9bacd088dcca8a5
parent 8c24e687b3678061640054aeea9c92d0a66555df
Author: Russ Cox <rsc@swtch.com>
Date:   Thu, 30 Apr 2009 07:22:17 -0700

9pfuse: clear O_EXCL too

Diffstat:
Msrc/cmd/9pfuse/main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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){