Changeset 56247 in vbox for trunk/src/VBox/Main/src-helper-apps
- Timestamp:
- Jun 4, 2015 7:04:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-helper-apps/VBoxExtPackHelperApp.cpp
r55671 r56247 1888 1888 case OPT_STDOUT: 1889 1889 { 1890 # ifdef RT_OS_WINDOWS 1891 PRTUTF16 pwszName = NULL; 1892 rc = RTStrToUtf16(ValueUnion.psz, &pwszName); 1893 if (RT_FAILURE(rc)) 1894 return RTMsgErrorExit(RTEXITCODE_FAILURE, "Error converting '%s' to UTF-16: %Rrc\n", ValueUnion.psz, rc); 1895 FILE *pFile = _wfreopen(pwszName, L"r+", ch == OPT_STDOUT ? stdout : stderr); 1896 RTUtf16Free(pwszName); 1897 # else 1890 1898 FILE *pFile = freopen(ValueUnion.psz, "r+", ch == OPT_STDOUT ? stdout : stderr); 1899 # endif 1891 1900 if (!pFile) 1892 1901 {
Note:
See TracChangeset
for help on using the changeset viewer.