windowing/windowserver/debuglog/DEBLOGFL.CPP
branchRCL_3
changeset 163 bbf46f59e123
parent 0 5d03bc08d59c
child 164 25ffed67c7ef
equal deleted inserted replaced
150:57c618273d5c 163:bbf46f59e123
    84 		TInt err=iFile.Open(iFs,*fileName,EFileStreamText|EFileWrite|EFileShareReadersOrWriters);
    84 		TInt err=iFile.Open(iFs,*fileName,EFileStreamText|EFileWrite|EFileShareReadersOrWriters);
    85 		//_LIT(KLog3,"Done ReOpen");
    85 		//_LIT(KLog3,"Done ReOpen");
    86 		//RDebug::Print(KLog3);
    86 		//RDebug::Print(KLog3);
    87 		if (err==KErrNone)
    87 		if (err==KErrNone)
    88 			{
    88 			{
    89 			TInt seekpos;
    89 			TInt seekpos = 0;
    90 			User::LeaveIfError(iFile.Seek(ESeekEnd,seekpos));
    90 			User::LeaveIfError(iFile.Seek(ESeekEnd,seekpos));
    91 			}
    91 			}
    92 		else
    92 		else
    93 			User::LeaveIfError(iFile.Replace(iFs,*fileName,EFileStreamText|EFileWrite|EFileShareReadersOrWriters));
    93 			User::LeaveIfError(iFile.Replace(iFs,*fileName,EFileStreamText|EFileWrite|EFileShareReadersOrWriters));
    94 		}
    94 		}