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).
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 ;-)
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 unx/file. cxx unx/file. cxx _Impl* pImpl = static_ cast<FileHandle _Impl*> (Handle) ;
index aa6cc26..6b3c56c 100644
--- a/sal/osl/
+++ b/sal/osl/
@@ -1064,6 +1064,9 @@ SAL_CALL osl_closeFile( oslFileHandle Handle )
{
FileHandle
+ fprintf (stderr, "Close on '%s'\n", pImpl && pImpl-> m_strFilePath ? m_strFilePath- >buffer : "<null>");
+ pImpl->
+
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 ;-)