]> 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 15:48:49 +0000 (11:48 -0400)
commit094129f804ad6f81de833d8957db42d0991b6882
treea6e05bd18313901f03aedfdae59879dd6e543773
parent0f3746400ebe7fbbbd310471345ca1c5e0159a59
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.
(cherry picked from commit 10364082c8351b0f4a258699742370195aadde6b)
src/Buffer.cpp
status.21x