kerneltest/f32test/loader/security/t_ldrcheck.cpp
branchGCC_SURGE
changeset 221 39b39e1a406e
parent 139 95f71bcdcdb7
child 279 957c583b417b
equal deleted inserted replaced
219:0ff03867bdb6 221:39b39e1a406e
   586 	test.Printf(_L("Corrupting file %S\n"), &aFileName);
   586 	test.Printf(_L("Corrupting file %S\n"), &aFileName);
   587 
   587 
   588     RFile corrFile;
   588     RFile corrFile;
   589     CleanupClosePushL(corrFile);	
   589     CleanupClosePushL(corrFile);	
   590 
   590 
   591     TInt r=corrFile.Open(TheFs, aFileName, EFileWrite);
   591     TInt r=corrFile.Open(TheFs, aFileName, EFileWrite|EFileWriteDirectIO);
   592 	if(r != KErrNone)
   592 	if(r != KErrNone)
   593         return r;
   593         return r;
   594 	
   594 	
   595     TInt size;
   595     TInt size;
   596 	r=corrFile.Size(size);
   596 	r=corrFile.Size(size);