VirtualBox

Changeset 12713 in vbox


Ignore:
Timestamp:
Sep 25, 2008 9:36:25 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37023
Message:

pdmR3LoadR3U: Don't add the DLL/SO/DYLIB extension to a file which already has one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMLdr.cpp

    r12709 r12713  
    272272     */
    273273    const char *pszSuff = RTLdrGetSuff();
    274     size_t      cchSuff = strlen(pszSuff);
     274    size_t      cchSuff = RTPathHasExt(pszFilename) ? strlen(pszSuff) : 0;
    275275    PPDMMOD     pModule = (PPDMMOD)RTMemAllocZ(sizeof(*pModule) + cchFilename + cchSuff);
    276276    if (!pModule)
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