Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Totoxa on December 20, 2015, 02:21:32 am
-
Editing a file that is a symlink to other file removes the symlink and creates a regular file with the new content.
Is there a setting to disable this behaviour?(I searched)
I'm using Code::Blocks 13.12 on Debian testing (C::B installed from Debian repos).
-
This happens because C::B tries to minimize the chance for data loss, so it uses a new-file+swap instead of writing directly over the old file.
Probably we should disable this mechanism when saving to symlinks or do something more clever.
Can you open an issue about this problem on sf.net?
-
Ok, I will open an issue.