VirtualBox

Changeset 33283 in vbox


Ignore:
Timestamp:
Oct 21, 2010 8:02:38 AM (14 years ago)
Author:
vboxsync
Message:

VBoxService/Guest Execution: Fixed assertion when shutting down.

File:
1 edited

Legend:

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

    r33277 r33283  
    6363    if (RT_SUCCESS(rc))
    6464    {
    65         int rc2;
    66         /* If there still was buffered data to write, remove the writable pipe as well. */
    67         if (pStdInBuf->cbOffset < pStdInBuf->cbSize)
    68         {
    69             rc2 = RTPollSetRemove(hPollSet, VBOXSERVICECTRLPIPEID_STDIN_WRITABLE);
    70             AssertRC(rc2);
    71         }
     65        int rc2 = RTPollSetRemove(hPollSet, VBOXSERVICECTRLPIPEID_STDIN_WRITABLE);
     66        AssertRC(rc2);
    7267
    7368        rc2 = RTPipeClose(*phStdInW);
     
    10291024#ifdef VBOXSERVICE_TOOLBOX
    10301025/**
    1031  * TODO
     1026 * Constructs the argv command line of a VBoxService toolbox program
     1027 * by first appending the full path of VBoxService along  with the given
     1028 * tool name (e.g. "vbox_cat") + the tool's actual command line parameters.
    10321029 *
    10331030 * @return IPRT status code.
    1034  * @param  pszFileName
    1035  * @param  pszTool
    1036  * @param  papszArgs
    1037  * @param  ppapszArgv
     1031 * @param  pszFileName      File name (full path) of this process.
     1032 * @param  pszTool          Tool name (e.g. "vbox_cat") to use.
     1033 * @param  papszArgs        Original argv command line from the host.
     1034 * @param  ppapszArgv       Pointer to a pointer with the new argv command line.
     1035 *                          Needs to be freed with RTGetOptArgvFree.
    10381036 */
    10391037int VBoxServiceControlExecPrepareToolboxArgv(const char *pszFileName, const char *pszTool,
Note: See TracChangeset for help on using the changeset viewer.

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