VirtualBox

Ignore:
Timestamp:
Jun 3, 2010 2:40:59 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62335
Message:

scm cleanup.

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControl.cpp

    r29594 r30013  
    306306    /*
    307307     * Ask the host service to cancel all pending requests so that we can
    308      * shutdown properly here. 
     308     * shutdown properly here.
    309309     */
    310310    if (g_GuestControlSvcClientID)
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlExec.cpp

    r29842 r30013  
    753753    int  rc = VINF_SUCCESS;
    754754#ifdef RT_OS_WINDOWS
    755     /* 
     755    /*
    756756     * If sysprep should be executed do this in the context of VBoxService, which
    757757     * (usually, if started by SCM) has administrator rights. Because of that a UI
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceCpuHotPlug.cpp

    r29503 r30013  
    109109
    110110/** All possible combinations. */
    111 SYSFSCPUPATH g_aAcpiCpuPath[] = 
     111SYSFSCPUPATH g_aAcpiCpuPath[] =
    112112{
    113113    /** Level 1 */
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServicePageSharing.cpp

    r29996 r30013  
    249249    if (RT_FAILURE(rc))
    250250        VBoxServiceVerbose(3, "VbglR3RegisterSharedModule failed with %d\n", rc);
    251    
     251
    252252end:
    253253    RTMemFree(pVersionInfo);
     
    291291        /** todo when changing this make sure VBoxService.exe is excluded! */
    292292        char *pszDot = strrchr(ModuleInfo.szModule, '.');
    293         if (    pszDot 
     293        if (    pszDot
    294294            &&  (pszDot[1] == 'e' || pszDot[1] == 'E'))
    295295            continue;   /* ignore executables for now. */
     
    374374        PVOID                pBuffer = NULL;
    375375        PRTL_PROCESS_MODULES pSystemModules;
    376    
     376
    377377        NTSTATUS ret = ZwQuerySystemInformation(SystemModuleInformation, (PVOID)&cbBuffer, 0, &cbBuffer);
    378378        if (!cbBuffer)
     
    381381            goto skipkernelmodules;
    382382        }
    383        
     383
    384384        pBuffer = RTMemAllocZ(cbBuffer);
    385385        if (!pBuffer)
     
    392392            goto skipkernelmodules;
    393393        }
    394    
     394
    395395        pSystemModules = (PRTL_PROCESS_MODULES)pBuffer;
    396396        for (unsigned i = 0; i < pSystemModules->NumberOfModules; i++)
     
    401401
    402402            char *pszDot = strrchr(pSystemModules->Modules[i].FullPathName, '.');
    403             if (    pszDot 
     403            if (    pszDot
    404404                &&  (pszDot[1] == 'e' || pszDot[1] == 'E'))
    405405                continue;   /* ignore executables for now. */
     
    534534#if defined(RT_OS_WINDOWS) && !defined(TARGET_NT4)
    535535    hNtdll = LoadLibrary("ntdll.dll");
    536    
     536
    537537    if (hNtdll)
    538538        ZwQuerySystemInformation = (PFNZWQUERYSYSTEMINFORMATION)GetProcAddress(hNtdll, "ZwQuerySystemInformation");
     
    559559     * We have to use this feature as we can't simply execute all init code in our service process.
    560560     *
    561         */
     561    */
    562562    int rc = RTSemEventMultiWait(g_PageSharingEvent, 60000);
    563563    if (*pfShutdown)
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServicePropCache.cpp

    r29885 r30013  
    310310            if ((pNode->fFlags & VBOXSERVICEPROPCACHEFLAG_TEMPORARY) == 0)
    311311                VBoxServiceWritePropF(pCache->uClientID, pNode->pszName, pNode->pszValueReset);
    312    
     312
    313313            AssertPtr(pNode->pszName);
    314314            RTStrFree(pNode->pszName);
     
    316316            RTStrFree(pNode->pszValueReset);
    317317            pNode->fFlags = 0;
    318    
     318
    319319            PVBOXSERVICEVEPROPCACHEENTRY pNext = RTListNodeGetNext(&pNode->Node, VBOXSERVICEVEPROPCACHEENTRY, Node);
    320320            RTListNodeRemove(&pNode->Node);
    321321            RTMemFree(pNode);
    322    
     322
    323323            if (pNext && RTListNodeIsLast(&pCache->ListEntries, &pNext->Node))
    324324                break;
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo-win.cpp

    r29872 r30013  
    384384                              &enmOwnerType))
    385385        {
    386             VBoxServiceError("VMInfo/Users: Failed looking up account info for user '%ls': %ld!\n", 
     386            VBoxServiceError("VMInfo/Users: Failed looking up account info for user '%ls': %ld!\n",
    387387                             a_pUserInfo->wszUser, GetLastError());
    388388        }
     
    437437            }
    438438        }
    439     }   
     439    }
    440440
    441441    LsaFreeReturnBuffer(pSessionData);
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp

    r29861 r30013  
    269269        VBoxServicePropCacheUpdate(&g_VMInfoPropCache, "/VirtualBox/GuestInfo/OS/NoLoggedInUsers", cUsersInList == 0 ? "true" : "false");
    270270        g_cVMInfoLoggedInUsers = cUsersInList;
    271     }   
     271    }
    272272    if (pszUserList)
    273273        RTStrFree(pszUserList);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette