VirtualBox

Changeset 38636 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Sep 5, 2011 1:49:45 PM (13 years ago)
Author:
vboxsync
Message:

*,IPRT: Redid the ring-3 init to always convert the arguments to UTF-8.

Location:
trunk/src/VBox/Main/testcase
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstAPI.cpp

    r36128 r38636  
    201201     * the support driver.
    202202     */
    203     RTR3Init();
     203    RTR3InitExe(argc, &argv, 0);
    204204
    205205    HRESULT rc;
  • trunk/src/VBox/Main/testcase/tstCollector.cpp

    r35368 r38636  
    148148     * the support driver.
    149149     */
    150     int rc = RTR3Init();
    151     if (RT_FAILURE(rc))
    152     {
    153         RTPrintf("tstCollector: RTR3Init() -> %d\n", rc);
     150    int rc = RTR3InitExe(argc, &argv, 0);
     151    if (RT_FAILURE(rc))
     152    {
     153        RTPrintf("tstCollector: RTR3InitExe() -> %d\n", rc);
    154154        return 1;
    155155    }
  • trunk/src/VBox/Main/testcase/tstOVF.cpp

    r37862 r38636  
    282282int main(int argc, char *argv[])
    283283{
    284     RTR3Init();
     284    RTR3InitExe(argc, &argv, 0);
    285285
    286286    HRESULT rc = S_OK;
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