VirtualBox

Changeset 3080 in kBuild for trunk/src/kWorker


Ignore:
Timestamp:
Oct 2, 2017 12:45:07 PM (7 years ago)
Author:
bird
Message:

kWorker: More details on exit code 43.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kWorker/kWorker.c

    r3051 r3080  
    31913191 * Looks up the given tool, creating a new tool table entry if necessary.
    31923192 *
    3193  * @returns Pointer to the tool entry.  NULL on failure.
     3193 * @returns Pointer to the tool entry.  NULL on failure (fully bitched).
    31943194 * @param   pszExe              The executable for the tool (not normalized).
    31953195 * @param   cEnvVars            Number of environment varibles.
     
    32343234                    break;
    32353235                }
    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);
    32403251    return NULL;
    32413252}
     
    1038810399    }
    1038910400    else
    10390     {
    10391         kwErrPrintf("kwToolLookup(%s) -> NULL\n", pszExecutable);
    1039210401        rcExit = 42 + 1;
    10393     }
    1039410402    return rcExit;
    1039510403}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette