]> git.lyx.org Git - features.git/commit
Per a suggestion of JMarc's, first write the saved file to a
authorRichard Heck <rgheck@lyx.org>
Tue, 3 Jun 2014 14:42:07 +0000 (10:42 -0400)
committerRichard Heck <rgheck@lyx.org>
Tue, 3 Jun 2014 14:42:07 +0000 (10:42 -0400)
commit10364082c8351b0f4a258699742370195aadde6b
tree62d1501b5556097bf6c8dbdc0f1c01c3e673cccc
parent361901a77322c3f5ab5696e9c9ea9fe00d432b47
Per a suggestion of JMarc's, first write the saved file to a
temporary name, then move it to its real location if we succeed.
This prevents our over-writing the existing file with a corrupt
one.
src/Buffer.cpp