VirtualBox

Ignore:
Timestamp:
Sep 5, 2011 1:49:45 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73843
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/Main/src-server/xpcom/server.cpp

    r37666 r38636  
    789789     * the support driver
    790790     */
    791     RTR3Init();
     791    int vrc = RTR3InitExe(argc, &argv, 0);
     792    if (RT_FAILURE(vrc))
     793        return RTMsgInitFailure(vrc);
    792794
    793795    static const RTGETOPTDEF s_aOptions[] =
     
    811813
    812814    RTGETOPTSTATE   GetOptState;
    813     int vrc = RTGetOptInit(&GetOptState, argc, argv, &s_aOptions[0], RT_ELEMENTS(s_aOptions), 1, 0 /*fFlags*/);
     815    vrc = RTGetOptInit(&GetOptState, argc, argv, &s_aOptions[0], RT_ELEMENTS(s_aOptions), 1, 0 /*fFlags*/);
    814816    AssertRC(vrc);
    815817
Note: See TracChangeset for help on using the changeset viewer.

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