VirtualBox

Changeset 20819 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jun 23, 2009 12:15:07 PM (16 years ago)
Author:
vboxsync
Message:

getenv -> RTEnvGet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/log/log.cpp

    r19730 r20819  
    4242#endif
    4343#ifdef IN_RING3
     44# include <iprt/env.h>
    4445# include <iprt/file.h>
    4546# include <iprt/path.h>
     
    286287                 */
    287288                strcpy(pszEnvVar + cchEnvVarBase, "_DEST");
    288                 const char *pszVar = getenv(pszEnvVar);
     289                const char *pszVar = RTEnvGet(pszEnvVar);
    289290                if (pszVar)
    290291                {
     
    393394                 */
    394395                strcpy(pszEnvVar + cchEnvVarBase, "_FLAGS");
    395                 pszVar = getenv(pszEnvVar);
     396                pszVar = RTEnvGet(pszEnvVar);
    396397                if (pszVar)
    397398                    RTLogFlags(pLogger, pszVar);
     
    401402                 */
    402403                pszEnvVar[cchEnvVarBase] = '\0';
    403                 pszVar = getenv(pszEnvVar);
     404                pszVar = RTEnvGet(pszEnvVar);
    404405                if (pszVar)
    405406                    RTLogGroupSettings(pLogger, pszVar);
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