diff options
author | rsc <devnull@localhost> | 2003-12-17 04:34:52 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2003-12-17 04:34:52 +0000 |
commit | 49588d5d9089589ccda28c41aae90c29d6f72787 (patch) | |
tree | 48cbc911e34b71977b7b98b4d0b94b27d4454081 /src/libfs | |
parent | 7f11104a5737adf261d10bc1a7b85e740f2eb491 (diff) | |
download | plan9port-49588d5d9089589ccda28c41aae90c29d6f72787.tar.gz plan9port-49588d5d9089589ccda28c41aae90c29d6f72787.tar.bz2 plan9port-49588d5d9089589ccda28c41aae90c29d6f72787.zip |
Tweaks to various bits.
Until I hear otherwise, Refs aren't used enough to
merit their own assembly. They are now implemented with locks.
Diffstat (limited to 'src/libfs')
-rw-r--r-- | src/libfs/ns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libfs/ns.c b/src/libfs/ns.c index 77a03a0f..28c9d1cf 100644 --- a/src/libfs/ns.c +++ b/src/libfs/ns.c @@ -25,6 +25,7 @@ nsmount(char *name, char *aname) werrstr("dial %s: %r", addr); return nil; } + fcntl(fd, F_SETFL, FD_CLOEXEC); fs = fsmount(fd, aname); if(fs == nil){ |