rclone/cmd/cmount
Nick Craig-Wood 54deb01f00 vfs: Make OpenFile and friends return EINVAL if O_RDONLY and O_TRUNC
Before this change Open("name", os.O_RDONLY|os.O_TRUNC) would have
truncated the file.  This is what Linux does, but is counterintuitive.
POSIX states this is undefined, so return an error in this case
instead.  This preserves the invariant O_RDONLY => file is not
changed.
2018-02-26 17:04:27 +00:00
..
fs.go vfs: Make OpenFile and friends return EINVAL if O_RDONLY and O_TRUNC 2018-02-26 17:04:27 +00:00
mount.go mountlib: wait for mountpoint to disappear under Windows 2017-11-20 12:46:22 +00:00
mount_test.go cmount: disable tests on windows + race detector 2017-11-20 12:46:24 +00:00
mount_unsupported.go Use build tags to control when and where cmount is built 2017-05-19 17:08:04 +01:00