Changeset 38637 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Sep 5, 2011 1:51:53 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 73844
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp
r38636 r38637 1617 1617 if (!fOnlyInfo && rcExit == RTEXITCODE_SUCCESS) 1618 1618 { 1619 /*1620 * The input is in the guest OS'es codepage (NT guarantees ACP).1621 * For VBox we use UTF-8. For simplicity, just convert the argv[] array1622 * here.1623 */1624 /** @todo this must be done before we start checking for --help and1625 * stuff above. */1626 for (int i = iArg; i < argc; i++)1627 {1628 char *pszConverted;1629 RTStrCurrentCPToUtf8(&pszConverted, argv[i]);1630 argv[i] = pszConverted;1631 }1632 1633 1619 if (argc > iArg) 1634 1620 { … … 1655 1641 usage(); 1656 1642 } 1657 1658 /*1659 * Free converted argument vector1660 */1661 for (int i = iArg; i < argc; i++)1662 RTStrFree(argv[i]);1663 1643 } 1664 1644
Note:
See TracChangeset
for help on using the changeset viewer.