Lines Matching defs:szDstPath
325 char szDstPath[RTPATH_MAX];
326 int rc = RTPathJoin(szDstPath, sizeof(szDstPath), pCfg->pszCache, pszDstName);
330 if (!RTDirExists(szDstPath))
332 rc = RTDirCreate(szDstPath, 0755, RTDIRCREATE_FLAGS_NOT_CONTENT_INDEXED_NOT_CRITICAL);
334 return RTMsgErrorRc(rc, "Error creating '%s': %Rrc", szDstPath, rc);
337 rc = RTPathAppend(szDstPath, sizeof(szDstPath), pszDstSubDir);
341 if (!RTDirExists(szDstPath))
343 rc = RTDirCreate(szDstPath, 0755, RTDIRCREATE_FLAGS_NOT_CONTENT_INDEXED_NOT_CRITICAL);
345 return RTMsgErrorRc(rc, "Error creating '%s': %Rrc", szDstPath, rc);
348 rc = RTPathAppend(szDstPath, sizeof(szDstPath), pszDstName);
353 rc = RTStrCat(szDstPath, sizeof(szDstPath), pszExtraStuff);
361 if (RTPathExists(szDstPath))
363 rc = RTFileCompare(pszSrcPath, szDstPath);
368 return rtDbgSymCacheAddCreateUuidMapping(szDstPath, pAddToUuidMap, pszUuidMapDir, pCfg);
372 RTMsgInfo("Cache conflict with existing entry '%s' when inserting '%s'.", szDstPath, pszSrcPath);
374 RTMsgInfo("Error comparing '%s' with '%s': %Rrc", pszSrcPath, szDstPath, rc);
382 RTMsgInfo("Copying '%s' to '%s'...", pszSrcPath, szDstPath);
383 rc = RTFileCopy(pszSrcPath, szDstPath);
385 return RTMsgErrorRc(rc, "Error copying '%s' to '%s': %Rrc", pszSrcPath, szDstPath, rc);
387 return rtDbgSymCacheAddCreateUuidMapping(szDstPath, pAddToUuidMap, pszUuidMapDir, pCfg);