Changeset 3080 in kBuild for trunk/src/kWorker
- Timestamp:
- Oct 2, 2017 12:45:07 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kWorker/kWorker.c
r3051 r3080 3191 3191 * Looks up the given tool, creating a new tool table entry if necessary. 3192 3192 * 3193 * @returns Pointer to the tool entry. NULL on failure .3193 * @returns Pointer to the tool entry. NULL on failure (fully bitched). 3194 3194 * @param pszExe The executable for the tool (not normalized). 3195 3195 * @param cEnvVars Number of environment varibles. … … 3234 3234 break; 3235 3235 } 3236 return kwToolEntryCreate(pToolFsObj, pszSearchPath); 3237 } 3238 kFsCacheObjRelease(g_pFsCache, pToolFsObj); 3239 } 3236 3237 pTool = kwToolEntryCreate(pToolFsObj, pszSearchPath); 3238 if (pTool) 3239 return pTool; 3240 3241 kwErrPrintf("kwToolLookup(%s) -> NULL: kwToolEntryCreate failed\n", pszExe); 3242 } 3243 else 3244 { 3245 kFsCacheObjRelease(g_pFsCache, pToolFsObj); 3246 kwErrPrintf("kwToolLookup(%s) -> NULL: not file (%d)\n", pszExe, pToolFsObj->bObjType); 3247 } 3248 } 3249 else 3250 kwErrPrintf("kwToolLookup(%s) -> NULL: enmError=%d\n", pszExe, enmError); 3240 3251 return NULL; 3241 3252 } … … 10388 10399 } 10389 10400 else 10390 {10391 kwErrPrintf("kwToolLookup(%s) -> NULL\n", pszExecutable);10392 10401 rcExit = 42 + 1; 10393 }10394 10402 return rcExit; 10395 10403 }
Note:
See TracChangeset
for help on using the changeset viewer.