VirtualBox

Ignore:
Timestamp:
Dec 29, 2017 4:51:03 PM (7 years ago)
Author:
vboxsync
Message:

Main/GuestProcessImpl.cpp: Made annoying assertion in GuestProcessTool::i_exitCodeToRc andy-only because he hasn't bothered making sure the testcase avoid this assertion yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestProcessImpl.h

    r69500 r70388  
    190190    int  guestRc;
    191191    /** The process tool's returned exit code. */
    192     LONG lExitCode;
     192    int32_t iExitCode;
    193193};
    194194
     
    229229    bool i_isRunning(void);
    230230
    231     int i_terminatedOk(LONG *plExitCode = NULL);
     231    int i_terminatedOk(int32_t *piExitCode = NULL);
    232232
    233233    int i_terminate(uint32_t uTimeoutMS, int *pGuestRc);
     
    245245                                GuestCtrlStreamObjects *pStrmOutObjects, uint32_t cStrmOutObjects, GuestProcessToolErrorInfo &errorInfo);
    246246
    247     static int i_exitCodeToRc(const GuestProcessStartupInfo &startupInfo, LONG lExitCode);
    248 
    249     static int i_exitCodeToRc(const char *pszTool, LONG lExitCode);
     247    static int i_exitCodeToRc(const GuestProcessStartupInfo &startupInfo, int32_t iExitCode);
     248
     249    static int i_exitCodeToRc(const char *pszTool, int32_t iExitCode);
    250250
    251251protected:
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