Changeset 74253 in vbox
- Timestamp:
- Sep 13, 2018 5:22:06 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/ldr.h
r73497 r74253 289 289 * supported on XP, W2K3 or earlier. Ignored on other platforms. */ 290 290 #define RTLDRLOAD_FLAGS_NT_SEARCH_DLL_LOAD_DIR RT_BIT_32(2) 291 /** Do not append default suffix. */ 292 #define RTLDRLOAD_FLAGS_NO_SUFFIX RT_BIT_32(3) 291 293 /** The mask of valid flag bits. */ 292 #define RTLDRLOAD_FLAGS_VALID_MASK UINT32_C(0x0000000 7)294 #define RTLDRLOAD_FLAGS_VALID_MASK UINT32_C(0x0000000f) 293 295 /** @} */ 294 296 -
trunk/src/VBox/Runtime/r3/posix/ldrNative-posix.cpp
r69111 r74253 47 47 * Do we need to add an extension? 48 48 */ 49 if (!RTPathHasSuffix(pszFilename) )49 if (!RTPathHasSuffix(pszFilename) && !(fFlags & RTLDRLOAD_FLAGS_NO_SUFFIX)) 50 50 { 51 51 #if defined(RT_OS_OS2) || defined(RT_OS_WINDOWS)
Note:
See TracChangeset
for help on using the changeset viewer.