equal
deleted
inserted
replaced
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 } |