VirtualBox

Changeset 26549 in vbox


Ignore:
Timestamp:
Feb 15, 2010 4:59:33 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57727
Message:

r3/process.cpp: Don't assert in RTProcGetExecutableName.

File:
1 edited

Legend:

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

    r18997 r26549  
    9898RTR3DECL(char *) RTProcGetExecutableName(char *pszExecName, size_t cchExecName)
    9999{
    100     AssertReturn(g_szrtProcExePath[0] != '\0', NULL);
     100    if (RT_UNLIKELY(g_szrtProcExePath[0] == '\0'))
     101        return NULL;
    101102
    102103    /*
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