mirror of
https://github.com/rclone/rclone.git
synced 2024-11-08 09:35:26 +01:00
7d0d7e66ca
If a file handle is duplicated with dup() and the duplicate handle is flushed, rclone will go ahead and close the file, making the original file handle stale. This change removes the close() call from Flush() and replaces it with FlushWrites() so that the file only gets closed when Release() is called. The new FlushWrites method takes care of actually writing the file back to the underlying storage. Fixes #3381 |
||
---|---|---|
.. | ||
dir.go | ||
edge_cases.go | ||
file.go | ||
fs.go | ||
read_non_unix.go | ||
read_unix.go | ||
read.go | ||
write_non_unix.go | ||
write_unix.go | ||
write.go |