harvester/server/src/mdeobjecthandler.cpp
changeset 23 33ae025ac1e8
parent 21 50bf9db68373
child 40 910a23996aa0
equal deleted inserted replaced
21:50bf9db68373 23:33ae025ac1e8
   185                 RFile64 tempFile;
   185                 RFile64 tempFile;
   186                 error = tempFile.Open( iFs, aHD.Uri(), EFileRead | EFileShareReadersOnly );
   186                 error = tempFile.Open( iFs, aHD.Uri(), EFileRead | EFileShareReadersOnly );
   187                 if( error != KErrNone )
   187                 if( error != KErrNone )
   188                     {
   188                     {
   189 #ifdef _DEBUG
   189 #ifdef _DEBUG
   190                     if( error == KErrInUse || error || KErrLocked )
   190                     if( error == KErrInUse || error == KErrLocked )
   191                         {
   191                         {
   192                         TPtrC fileName( aHD.Uri().Mid(2) );
   192                         TPtrC fileName( aHD.Uri().Mid(2) );
   193                         WRITELOG1( "CMdeObjectHandler :: Checking open file handles to %S", &fileName );
   193                         WRITELOG1( "CMdeObjectHandler :: Checking open file handles to %S", &fileName );
   194 
   194 
   195                         CFileList* fileList = 0;
   195                         CFileList* fileList = 0;