Kaydet (Commit) f340ddd7 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add SAL_INFO for the open() call in oslDoCopyFile()

Change-Id: I1fde453d5d37481aedec152a1a4da8a85fc6c99b
üst 5f438ebe
......@@ -964,9 +964,12 @@ static int oslDoCopyFile(const sal_Char* pszSourceFileName, const sal_Char* pszD
if ( DestFileFD < 0 )
{
nRet=errno;
SAL_INFO("sal.file", "open(" << pszDestFileName << ",O_WRONLY|O_CREAT," << std::oct << mode << std::dec << "): errno " << nRet << ": " << strerror(nRet));
osl_closeFile(SourceFileFH);
return nRet;
}
else
SAL_INFO("sal.file", "open(" << pszDestFileName << ",O_WRONLY|O_CREAT," << std::oct << mode << std::dec << "): OK");
size_t nRemains = nSourceSize;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment