VirtualBox

Ignore:
Timestamp:
Oct 7, 2018 1:00:04 PM (6 years ago)
Author:
vboxsync
Message:

IPRT: More kStuff cleanup. bugref:9232

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstLdr.cpp

    r69111 r74654  
    106106        { NULL, NULL, (RTUINTPTR)0x40404040, "bar" },
    107107        { NULL, NULL, (RTUINTPTR)0xefefef00, "foobar" },
    108         { NULL, NULL, (RTUINTPTR)0xefefef00, "kLdr-foo" },
    109         { NULL, NULL, (RTUINTPTR)0x40404040, "kLdr-bar" },
    110         { NULL, NULL, (RTUINTPTR)0xefefef00, "kLdr-foobar" }
    111108    };
    112109    unsigned i;
     
    123120
    124121        /* open it */
    125         int rc;
    126         if (!strncmp(aLoads[i].pszName, RT_STR_TUPLE("kLdr-")))
    127             rc = RTLdrOpenkLdr(pszFilename, 0, RTLDRARCH_WHATEVER, &aLoads[i].hLdrMod);
    128         else
    129             rc = RTLdrOpen(pszFilename, 0, RTLDRARCH_WHATEVER, &aLoads[i].hLdrMod);
     122        int rc = RTLdrOpen(pszFilename, 0, RTLDRARCH_WHATEVER, &aLoads[i].hLdrMod);
    130123        if (RT_FAILURE(rc))
    131124        {
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