VirtualBox

Changeset 35461 in vbox


Ignore:
Timestamp:
Jan 10, 2011 3:01:30 PM (14 years ago)
Author:
vboxsync
Message:

VBoxService/GuestControlExec: Proper fix for r69305 (public ticket #8010).

File:
1 edited

Legend:

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

    r35434 r35461  
    55
    66/*
    7  * Copyright (C) 2010 Oracle Corporation
     7 * Copyright (C) 2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    11081108        fUseToolbox = true;
    11091109
    1110     /* Skip argv[0] (= file name) if we don't run an internal
    1111      * VBoxService toolbox command - we already have a resolved one in pszFileName. */
     1110    /* Skip argv[0] (= file name) if we run an internal VBoxService
     1111     * toolbox ("vbox_*") command - we already have a resolved one
     1112     * (e.g. "vbox_cat" -> "C:\Windows\system32\VBoxService vbox_cat") in pszFileName. */
    11121113    char *pszArgs;
    1113     int rc = RTGetOptArgvToString(&pszArgs, papszArgs,
     1114    int rc = RTGetOptArgvToString(&pszArgs,
     1115                                  fUseToolbox ? papszArgs[1] : &papszArgs,
    11141116                                  RTGETOPTARGV_CNV_QUOTE_MS_CRT); /* RTGETOPTARGV_CNV_QUOTE_BOURNE_SH */
    11151117    if (   RT_SUCCESS(rc)
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