Changeset 40205 in vbox for trunk/src/VBox/Main
- Timestamp:
- Feb 22, 2012 8:30:14 AM (13 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestImpl.cpp
r40084 r40205 196 196 197 197 ULONG aGuestStats[GUESTSTATTYPE_MAX]; 198 RT_ZERO(aGuestStats); 198 199 ULONG validStats = mGuestValidStats; 199 200 /* Check if we have anything to report */ -
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r40201 r40205 1370 1370 * preferred to remove the space and brackets too). We also remove all 1371 1371 * characters which need UTF-16 surrogate pairs for Windows's benefit. */ 1372 #ifdef RT_STRICT 1372 1373 RTUNICP aCpSet[] = 1373 1374 { ' ', ' ', '(', ')', '-', '.', '0', '9', 'A', 'Z', 'a', 'z', '_', '_', 1374 1375 0xa0, 0xd7af, '\0' }; 1376 #endif 1375 1377 char *pszName = strName.mutableRaw(); 1376 1378 Assert(RTStrPurgeComplementSet(pszName, aCpSet, '_') >= 0); … … 1388 1390 } 1389 1391 1392 #ifdef DEBUG 1390 1393 /** Simple unit test/operation examples for sanitiseMachineFilename(). */ 1391 1394 static unsigned testSanitiseMachineFilename(void (*pfnPrintf)(const char *, ...)) … … 1424 1427 } 1425 1428 1426 #ifdef DEBUG1427 1429 /** @todo Proper testcase. */ 1428 1430 /** @todo Do we have a better method of doing init functions? */ -
trunk/src/VBox/Main/testcase/tstGuestCtrlParseBuffer.cpp
r39790 r40205 137 137 }; 138 138 139 intiTest = 0;139 unsigned iTest = 0; 140 140 for (iTest; iTest < RT_ELEMENTS(aTest); iTest++) 141 141 {
Note:
See TracChangeset
for help on using the changeset viewer.