diff options
author | Perttu Ahola <celeron55@gmail.com> | 2016-01-01 18:14:30 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2016-01-01 18:21:18 +0200 |
commit | 64c060e1f2d94d8277246d8cdd8a886010564770 (patch) | |
tree | c7b557b57acfe43bf8e65c7058a9e2efc0797809 /games/minimal/mods/default/textures/default_stick.png | |
parent | 43c804a00b5f6177d0bb02404804234606197dc5 (diff) | |
download | minetest-64c060e1f2d94d8277246d8cdd8a886010564770.tar.gz minetest-64c060e1f2d94d8277246d8cdd8a886010564770.tar.bz2 minetest-64c060e1f2d94d8277246d8cdd8a886010564770.zip |
filesys: safeWriteToFile(): Remove the target file before rename only on Windows
Removing the target file on other platforms was enabled likely unintentionally
by commit 5f1f1151d3a9c113902630adc16cc3f4845da7ba.
This may be the reason why there has been corruption of files on Linux on hard
shutdowns.
Previously I described the problem and this fix in issue #3084.
Diffstat (limited to 'games/minimal/mods/default/textures/default_stick.png')
0 files changed, 0 insertions, 0 deletions