VirtualBox

Changeset 55671 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
May 5, 2015 4:27:52 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100060
Message:

RTGetOptArgvFromString: Added fFlags parameter for selecting the quoting style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp

    r55535 r55671  
    14931493    uint32_t uNumArgs = 0; /* Initialize in case of RTGetOptArgvFromString() is failing ... */
    14941494    rc = RTGetOptArgvFromString(&papszArgs, (int*)&uNumArgs,
    1495                                 (pProcess->StartupInfo.uNumArgs > 0) ? pProcess->StartupInfo.szArgs : "", NULL);
     1495                                (pProcess->StartupInfo.uNumArgs > 0) ? pProcess->StartupInfo.szArgs : "",
     1496                                RTGETOPTARGV_CNV_QUOTE_BOURNE_SH, NULL);
    14961497    /* Did we get the same result? */
    14971498    Assert(pProcess->StartupInfo.uNumArgs == uNumArgs);
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