A really useful trace - thanks for that ! :-) it seems that a load of
these are related to the flurry of /tmp files that we create (apparently
for no really good reason).
Re-running with:
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx
index aa6cc26..6b3c56c 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -1064,6 +1064,9 @@ SAL_CALL osl_closeFile( oslFileHandle Handle )
{
FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle);
+ fprintf (stderr, "Close on '%s'\n", pImpl && pImpl->m_strFilePath ?
+ pImpl->m_strFilePath->buffer : "<null>");
+
if (pImpl == 0)
return osl_File_E_INVAL;
Might show us which one is actually the file you saved as :-)
interesting too to see the backup stuff there. It was great to see the
osl_copyFile method being used too - there is a comment in the impl.
saying it isn't used ;-)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/817326
Title:
[Upstream] Previously-saved LibreOffice document lost by power outage
(became 0 bytes long) - LibreOffice should call fsync
To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/817326/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs