Changeset 64766 in vbox for trunk/src/VBox/Additions/common/VBoxService
- Timestamp:
- Nov 30, 2016 10:59:48 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 112111
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp
r62882 r64766 1152 1152 /* Search old threads using the desired PID and shut them down completely -- it's 1153 1153 * not used anymore. */ 1154 PVBOXSERVICECTRLPROCESS pProcessCur;1155 1154 bool fTryAgain; 1156 1155 do 1157 1156 { 1158 1157 fTryAgain = false; 1158 PVBOXSERVICECTRLPROCESS pProcessCur; 1159 1159 RTListForEach(&pProcess->pSession->lstProcesses, pProcessCur, VBOXSERVICECTRLPROCESS, Node) 1160 1160 { -
trunk/src/VBox/Additions/common/VBoxService/VBoxServicePropCache.cpp
r62851 r64766 45 45 * implementation (AVL tree). However, this is not important at the 46 46 * moment. */ 47 PVBOXSERVICEVEPROPCACHEENTRY pNode It, pNode= NULL;47 PVBOXSERVICEVEPROPCACHEENTRY pNode = NULL; 48 48 if (RT_SUCCESS(RTCritSectEnter(&pCache->CritSect))) 49 49 { 50 PVBOXSERVICEVEPROPCACHEENTRY pNodeIt; 50 51 RTListForEach(&pCache->NodeHead, pNodeIt, VBOXSERVICEVEPROPCACHEENTRY, NodeSucc) 51 52 { … … 323 324 324 325 int rc = VERR_NOT_FOUND; 325 PVBOXSERVICEVEPROPCACHEENTRY pNodeIt = NULL;326 326 if (RT_SUCCESS(RTCritSectEnter(&pCache->CritSect))) 327 327 { … … 341 341 { 342 342 /* Iterate through all nodes and compare their paths. */ 343 PVBOXSERVICEVEPROPCACHEENTRY pNodeIt; 343 344 RTListForEach(&pCache->NodeHead, pNodeIt, VBOXSERVICEVEPROPCACHEENTRY, NodeSucc) 344 345 { … … 369 370 370 371 int rc = VINF_SUCCESS; 371 PVBOXSERVICEVEPROPCACHEENTRY pNodeIt = NULL;372 372 if (RT_SUCCESS(RTCritSectEnter(&pCache->CritSect))) 373 373 { 374 PVBOXSERVICEVEPROPCACHEENTRY pNodeIt; 374 375 RTListForEach(&pCache->NodeHead, pNodeIt, VBOXSERVICEVEPROPCACHEENTRY, NodeSucc) 375 376 { -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceToolBox.cpp
r62850 r64766 492 492 { 493 493 /* Process each input file. */ 494 RTFILE hInput = NIL_RTFILE; 494 495 PVBOXSERVICETOOLBOXPATHENTRY pNodeIt; 495 RTFILE hInput = NIL_RTFILE;496 496 RTListForEach(&inputList, pNodeIt, VBOXSERVICETOOLBOXPATHENTRY, Node) 497 497 {
Note:
See TracChangeset
for help on using the changeset viewer.