mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
When renaming a file over another file the operation is only atomic if both the source file and the target file is in the same directory. Fix safeOutputFile writing the temporary file to a different directory than the target file due to the path separator not being included when creating the temporary file path.
Common Library for Clusterio
This package contains functionality shared between controller, host, ctl and/or plugins of Clusterio.
See the Clusterio repository for more information on Clusterio.