VirtualBox

Changeset 16717 in vbox for trunk/src/VBox/Main/cbinding


Ignore:
Timestamp:
Feb 12, 2009 5:44:44 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42747
Message:

spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/cbinding/tstdlOpen.c

    r16716 r16717  
    360360     * Construct the full name.
    361361     */
     362
    362363    cbBuf = cchHome + sizeof("/" DYNLIB_NAME);
    363364    pszBuf = (char *)malloc(cbBuf);
     
    380381     * Try load it by that name, setting the VBOX_APP_HOME first (for now).
    381382     */
     383
    382384    setenv("VBOX_APP_HOME", pszBuf, 0 /* no need to overwrite */);
    383385    g_hVBoxXPCOMC = dlopen(pszBuf, RTLD_NOW | RTLD_LOCAL);
     
    426428     * If the user specifies the location, try only that.
    427429     */
     430
    428431    const char *pszHome = getenv("VBOX_APP_HOME");
    429432    if (pszHome)
     
    433436     * Try the known standard locations.
    434437     */
     438
    435439#if defined(__gnu__linux__) || defined(__linux__)
    436440    if (tryLoadOne("/opt/VirtualBox", pszMsgPrefix) == 0)
     
    453457     * Finally try the dynamic linker search path.
    454458     */
     459
    455460    if (tryLoadOne(NULL, pszMsgPrefix) == 0)
    456461        return 0;
Note: See TracChangeset for help on using the changeset viewer.

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