equal
deleted
inserted
replaced
354 |
354 |
355 void UpdateInstallationInformation_xml(const CParameterList* aParamList, |
355 void UpdateInstallationInformation_xml(const CParameterList* aParamList, |
356 XmlDetails::TScrPreProvisionDetail aScrPreProvisionDetail) |
356 XmlDetails::TScrPreProvisionDetail aScrPreProvisionDetail) |
357 { |
357 { |
358 CXmlGenerator xmlGenerator; |
358 CXmlGenerator xmlGenerator; |
359 char* tmpFileName = tmpnam(NULL); |
359 |
|
360 #ifndef __TOOLS2_LINUX__ |
|
361 char* tmpFileName = tmpnam(NULL); |
|
362 #else |
|
363 char tmpFileName[] = "/tmp/interpretsis_preprovision_XXXXXX"; |
|
364 int temp_fd; |
|
365 temp_fd=mkstemp(tmpFileName); |
|
366 fclose(fdopen(temp_fd,"w")); |
|
367 #endif |
|
368 |
360 std::wstring filename(string2wstring(tmpFileName)); |
369 std::wstring filename(string2wstring(tmpFileName)); |
361 |
370 |
362 int isRomApplication = 1; |
371 int isRomApplication = 1; |
363 xmlGenerator.WritePreProvisionDetails(filename , aScrPreProvisionDetail, isRomApplication); |
372 xmlGenerator.WritePreProvisionDetails(filename , aScrPreProvisionDetail, isRomApplication); |
364 |
373 |