VirtualBox

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/testcase/tstSupSem.cpp

    r33383 r38636  
    3434#include <iprt/err.h>
    3535#include <iprt/initterm.h>
     36#include <iprt/message.h>
    3637#include <iprt/stream.h>
    3738#include <iprt/test.h>
     
    7980     * Init.
    8081     */
    81     int rc = RTR3InitAndSUPLib();
     82    int rc = RTR3InitExe(argc, &argv, RTR3INIT_FLAGS_SUPLIB);
    8283    if (RT_FAILURE(rc))
    83     {
    84         RTPrintf("tstSupSem: fatal error: RTR3InitAndSUPLib failed with rc=%Rrc\n", rc);
    85         return 1;
    86     }
     84        return RTMsgInitFailure(rc);
    8785
    8886    if (argc == 2 && !strcmp(argv[1], "child"))
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