VirtualBox

Changeset 57656 in vbox for trunk


Ignore:
Timestamp:
Sep 8, 2015 2:45:32 PM (9 years ago)
Author:
vboxsync
Message:

IPRT/process-win.cpp: Don't unset env variables from parent in rtProcWinEnvironmentCreateInternal().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/process-win.cpp

    r57358 r57656  
    648648                        && fOverwriteExisting)
    649649                    {
    650                         rc = RTEnvUnset(pszEntry);
     650                        rc = RTEnvUnsetEx(hEnvTemp, pszEntry);
    651651                    }
    652652                    else if (pszEq)
     
    693693 * whereas hEnv is an additional set of environment variables which overwrite existing
    694694 * values of the user profile.  ppwszBlock needs to be destroyed after usage
    695  * calling rtProcWinDestoryEnv().
     695 * calling rtProcWinDestroyEnv().
    696696 *
    697697 * @return  IPRT status code.
     
    746746 * and domain), whereas hEnv is an additional set of environment variables which overwrite
    747747 * existing values of the user profile.  ppwszBlock needs to be destroyed after usage
    748  * calling rtProcWinDestoryEnv().
     748 * calling rtProcWinDestroyEnv().
    749749 *
    750750 * @return  IPRT status code.
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