VirtualBox

Changeset 18926 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Apr 16, 2009 8:33:09 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
45992
Message:

Main: do not attempt to load older versions of libdbus

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/vbox-dbus.h

    r16178 r18926  
    2626#include <stdint.h>
    2727
    28 #define VBOX_DBUS_1_2_LIB "libdbus-1.so.2"  /* This should be compatible */
    2928#define VBOX_DBUS_1_3_LIB "libdbus-1.so.3"
    3029
  • trunk/src/VBox/Main/linux/vbox-dbus.cpp

    r16178 r18926  
    7777
    7878    LogFlowFunc(("\n"));
    79     rc = RTLdrLoad(VBOX_DBUS_1_2_LIB, &hLib);
     79    rc = RTLdrLoad(VBOX_DBUS_1_3_LIB, &hLib);
    8080    if (RT_FAILURE(rc))
    81         rc = RTLdrLoad(VBOX_DBUS_1_3_LIB, &hLib);
    82     if (RT_FAILURE(rc))
    83         LogRelFunc(("Failed to load library %s or %s\n",
    84                     VBOX_DBUS_1_2_LIB, VBOX_DBUS_1_3_LIB));
     81        LogRelFunc(("Failed to load library %s\n", VBOX_DBUS_1_3_LIB));
    8582    for (unsigned i = 0; RT_SUCCESS(rc) && SharedFuncs[i].name != NULL; ++i)
    8683        rc = RTLdrGetSymbol(hLib, SharedFuncs[i].name, (void**)SharedFuncs[i].fn);
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