[josm-dev] problems with saving files in JOSM

Gabriel Ebner ge at gabrielebner.at
Thu Jan 3 23:32:42 GMT 2008


On Thu, Jan 03, 2008 at 11:46:11PM +0100, Frederik Ramm wrote:
> > I just tried it here, but after (5) there are two ways in the file.
> 
> If you want to double-check my modification - it seemed to me that

I already did, and the problem really seems to have been caused by the
keep-backup option.

> there was obviously a bug with the temporary backup file. The block
> that was supposed to copy the backup file onto the saved file was
> executed always, insted of only on save failure. However if you had
> not set the config option "save.keepbackup" (which I presume you have
> not, and those exeriencing the problem had) then the temp file was
> deleted before it could do any harm.

Yes, and it would only be overwritten if the temporary file still existed.

  Gabriel.




More information about the josm-dev mailing list