Changeset 35191 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Dec 16, 2010 3:25:20 PM (14 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrNative.cpp
r35183 r35191 96 96 RTDECL(int) RTLdrLoad(const char *pszFilename, PRTLDRMOD phLdrMod) 97 97 { 98 return RTLdrLoadEx(pszFilename, phLdrMod, 0 /*fFlags*/, NULL);98 return RTLdrLoadEx(pszFilename, phLdrMod, RTLDRLOAD_FLAGS_LOCAL, NULL); 99 99 } 100 100 RT_EXPORT_SYMBOL(RTLdrLoad); … … 111 111 AssertPtrReturn(pszFilename, VERR_INVALID_POINTER); 112 112 AssertPtrReturn(phLdrMod, VERR_INVALID_POINTER); 113 AssertReturn(!(fFlags & ~RTLDRLOAD_FLAGS_VALID_MASK), VERR_INVALID_PARAMETER); 113 114 114 115 /* -
trunk/src/VBox/Runtime/r3/posix/ldrNative-posix.cpp
r35183 r35191 70 70 */ 71 71 int fFlagsNative = RTLD_NOW; 72 if (fFlags & RTLDR FLAGS_GLOBAL)72 if (fFlags & RTLDRLOAD_FLAGS_GLOBAL) 73 73 fFlagsNative |= RTLD_GLOBAL; 74 74 else
Note:
See TracChangeset
for help on using the changeset viewer.