printingservices/printerdriversupport/tps/T_PDR.CPP
changeset 121 d72fc2aace31
parent 0 5d03bc08d59c
child 164 25ffed67c7ef
equal deleted inserted replaced
103:2717213c588a 121:d72fc2aace31
   371 
   371 
   372 	RFile file;
   372 	RFile file;
   373 	RFs fs;
   373 	RFs fs;
   374 	ret=fs.Connect();
   374 	ret=fs.Connect();
   375 	TEST(ret==KErrNone);
   375 	TEST(ret==KErrNone);
   376 #if defined(__X86GCC__)
       
   377 	_LIT(KPath,"C:\\system\\data\\");
   376 	_LIT(KPath,"C:\\system\\data\\");
   378 	fs.MkDirAll(KPath);
   377 	fs.MkDirAll(KPath);
   379 #endif	//__X86GCC__
       
   380 	ret=file.Replace(fs,_L("C:\\system\\data\\WIDTHS.TMP"),EFileStream|EFileWrite);
   378 	ret=file.Replace(fs,_L("C:\\system\\data\\WIDTHS.TMP"),EFileStream|EFileWrite);
   381 	if (ret!=KErrNone)
   379 	if (ret!=KErrNone)
   382 		{
   380 		{
   383 		_LIT(KLog,"Doing Replace on file C:\\system\\data\\WIDTHS.TMP gave error %d");
   381 		_LIT(KLog,"Doing Replace on file C:\\system\\data\\WIDTHS.TMP gave error %d");
   384 		INFO_PRINTF2(KLog,ret);
   382 		INFO_PRINTF2(KLog,ret);