]> git.rm.cloudns.org Git - xonotic/netradiant.git/commit
do not rename() .map symlinks, but just overwrite them
authorWalter Doekes <walter+github@wjd.nu>
Sat, 9 Apr 2022 17:20:58 +0000 (19:20 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sat, 18 Jun 2022 21:25:47 +0000 (23:25 +0200)
commit4d38a666f972e7cbc2156865a2c99ecf2192c467
tree88efb566d564627280ff5bc2869d3ae4ae41acd7
parent194f81c25d91995457d19fce3042c6cb2d1ff474
do not rename() .map symlinks, but just overwrite them

If the user uses symlinks (perhaps from a carefully constructed CVS path),
we would break the symlink when saving the map file. Do not write a .bak
file in this case and just overwrite the symlink target.
radiant/referencecache.cpp