Changeset 92659 in vbox for trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp
- Timestamp:
- Dec 1, 2021 2:08:08 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp
r92658 r92659 974 974 static int vgsvcGstCtrlProcessMakeFullPath(const char *pszPath, char *pszExpanded, size_t cbExpanded) 975 975 { 976 int rc = VINF_SUCCESS;977 976 /** @todo r=bird: This feature shall be made optional, i.e. require a 978 977 * flag to be passed down. Further, it shall work on the environment … … 983 982 * Since this currently not available on non-windows guests, I suggest 984 983 * we disable it until such a time as it is implemented correctly. */ 985 #ifdef RT_OS_WINDOWS 984 #if 0 /*def RT_OS_WINDOWS - see above. Don't know why this wasn't disabled before 7.0, didn't see the @todo yet? */ 985 int rc = VINF_SUCCESS; 986 986 if (!ExpandEnvironmentStrings(pszPath, pszExpanded, (DWORD)cbExpanded)) 987 987 rc = RTErrConvertFromWin32(GetLastError()); 988 988 #else 989 /* No expansion for non-Windows yet. */990 rc = RTStrCopy(pszExpanded, cbExpanded, pszPath);989 /* There is no expansion anywhere yet, see above @todo. */ 990 int rc = RTStrCopy(pszExpanded, cbExpanded, pszPath); 991 991 #endif 992 992 #ifdef DEBUG
Note:
See TracChangeset
for help on using the changeset viewer.