mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
This could be a security issue if someone else, say, makes a symlink to somewhere else. Instead, create a tempfile and then rename it into place which is safe against the symlink attack. Patch by Bill Nottingham <notting@redhat.com> BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15435 57a11ea4-9604-0410-9ed3-97b8803252fd