mirror of
https://github.com/rclone/rclone.git
synced 2024-12-29 02:19:08 +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 |
||
---|---|---|
.. | ||
mounttest | ||
daemon_unix.go | ||
daemon.go | ||
mount.go |