https://bz.apache.org/ooo/show_bug.cgi?id=126869
--- Comment #37 from Arrigo Marchiori <[email protected]> --- I switched back to AOO419 because it's closer to what reporters used for... their reports. If we "Save as" a Writer document, everything seems to get written into temporary files. The method responsible for creating the destination file is SfxMedium::TransactedTransferForFS_Impl() in file main/sfx2/source/doc/docfile.cxx:1794 Looking at trace messages emitted during its full invocation, it does: 1- close a fd linked to a temporary file (probably containing the final document) 2- reopen the same file in read-only mode 3- open the destination file in write-mode [copy must happen here) 4- close the destination file 5- close the source file The above algorithm seems to be fair and not prone to data corruption. Either something is done wrong inside it, or I am searching in the wrong place. -- You are receiving this mail because: You are the assignee for the issue.
