- Timestamp:
- Sep 9, 2015 11:32:40 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r57659 r57660 1967 1967 * VbglR3GuestCtrlSessionGetOpen(). */ 1968 1968 rc = RTEnvClone(&hEnv, RTENV_DEFAULT); 1969 1970 if (g_cVerbosity > 3) 1971 { 1972 VBoxServiceVerbose(4, "Environment variables:\n"); 1973 1974 uint32_t cVars = RTEnvCountEx(hEnv); 1975 for (uint32_t iVar = 0; iVar < cVars; iVar++) 1976 { 1977 char szVar[_1K]; 1978 char szValue[_16K]; 1979 int rc2 = RTEnvGetByIndexEx(hEnv, iVar, szVar, sizeof(szVar), szValue, sizeof(szValue)); 1980 if (RT_SUCCESS(rc2)) 1981 VBoxServiceVerbose(4, "\t%s=%s\n", szVar, szValue); 1982 else if (rc2 == VERR_BUFFER_OVERFLOW) 1983 VBoxServiceVerbose(4, "\t%s=%s [VERR_BUFFER_OVERFLOW]\n", szVar, szValue); 1984 else 1985 { 1986 VBoxServiceVerbose(4, "\tUnable to enumerate environment variable #%RU32: %Rrc\n", iVar, rc2); 1987 /* Keep going. */ 1988 } 1989 } 1990 } 1969 1991 } 1970 1992
Note:
See TracChangeset
for help on using the changeset viewer.