mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 10:13:52 +08:00
54deb01f00
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. |
||
---|---|---|
.. | ||
fs.go | ||
mount_test.go | ||
mount_unsupported.go | ||
mount.go |