Changeset 46972 in vbox
- Timestamp:
- Jul 4, 2013 8:57:23 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 86980
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r46971 r46972 2110 2110 2111 2111 const Utf8Str &strSourceOVF = di.strHref; 2112 2113 Utf8Str strSrcFilePath(stack.strSourceDir); 2112 2114 /* Construct source file path */ 2113 Utf8StrFmt strSrcFilePath("%s%c%s", stack.strSourceDir.c_str(), RTPATH_DELIMITER, strSourceOVF.c_str()); 2115 Utf8Str name = applianceIOName(applianceIOTar); 2116 2117 if (RTStrNICmp(pStorage->pVDImageIfaces->pszInterfaceName, name.c_str(), name.length()) == 0) 2118 strSrcFilePath = strSourceOVF; 2119 else 2120 { 2121 strSrcFilePath.append(RTPATH_SLASH_STR); 2122 strSrcFilePath.append(strSourceOVF); 2123 } 2114 2124 2115 2125 /* First of all check if the path is an UUID. If so, the user like to -
trunk/src/VBox/Runtime/common/checksum/manifest.cpp
r45354 r46972 455 455 for (size_t i = 0; i < cTests; ++i) 456 456 { 457 if ( !RTStrCmp(RTPathFilename(paFiles[i].pTestPattern->pszTestFile), RTStrStrip(pszName)))457 if (RTStrStr(paFiles[i].pTestPattern->pszTestFile, RTStrStrip(pszName)) != NULL) 458 458 { 459 459 /* Add the data of the manifest file to the file list */ … … 492 492 } 493 493 494 /* Do the manifest SHA 1digest match against the actual digest? */494 /* Do the manifest SHA digest match against the actual digest? */ 495 495 if (RTStrICmp(paFiles[i].pszManifestDigest, paFiles[i].pTestPattern->pszTestDigest)) 496 496 {
Note:
See TracChangeset
for help on using the changeset viewer.