Discussion:
[LyX/master] 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.
Scott Kostyshak
2014-06-07 07:06:31 UTC
Permalink
commit 10364082c8351b0f4a258699742370195aadde6b
Date: Tue Jun 3 10:42:07 2014 -0400
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.
I've been getting the following message frequently when doing a normal
save (and I have not been doing anything tricky such as editing the
file externally):
"Document xyz.lyx has been externally modified. Are you sure you want
to overwrite this file?"
I did not confirm that the above commit is what changed this behavior,
but I thought I would check in to see if anyone else sees this?

Scott
Jürgen Spitzmüller
2014-06-07 15:57:23 UTC
Permalink
Post by Scott Kostyshak
I've been getting the following message frequently when doing a normal
save (and I have not been doing anything tricky such as editing the
"Document xyz.lyx has been externally modified. Are you sure you want
to overwrite this file?"
I did not confirm that the above commit is what changed this behavior,
but I thought I would check in to see if anyone else sees this?
Yes, I see this, too.

JÃŒrgen
Post by Scott Kostyshak
Scott
Richard Heck
2014-06-07 16:36:12 UTC
Permalink
Post by Scott Kostyshak
I've been getting the following message frequently when doing a normal
save (and I have not been doing anything tricky such as editing the
"Document xyz.lyx has been externally modified. Are you sure you want
to overwrite this file?"
I did not confirm that the above commit is what changed this behavior,
but I thought I would check in to see if anyone else sees this?
Yes, I see this, too.
Probably does come from that commit. I'll have a look this weekend.

Richard

Loading...