diff options
Diffstat (limited to 'dlfcn.c')
-rw-r--r-- | dlfcn.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -225,10 +225,10 @@ void *dlopen( const char *file, int mode ) | |||
225 | * all symbols from the original program file, and any objects loaded | 225 | * all symbols from the original program file, and any objects loaded |
226 | * with the RTLD_GLOBAL flag. | 226 | * with the RTLD_GLOBAL flag. |
227 | * The return value from GetModuleHandle( ) allows us to retrieve | 227 | * The return value from GetModuleHandle( ) allows us to retrieve |
228 | * symbols only from the original program file. For objects loaded with | 228 | * symbols only from the original program file. EnumProcessModules() is |
229 | * the RTLD_GLOBAL flag, we create our own list later on. For objects | 229 | * used to access symbols from other libraries. For objects loaded |
230 | * outside of the program file but already loaded (e.g. linked DLLs) | 230 | * with the RTLD_LOCAL flag, we create our own list later on. They are |
231 | * they are added below. | 231 | * excluded from EnumProcessModules() iteration. |
232 | */ | 232 | */ |
233 | hModule = GetModuleHandle( NULL ); | 233 | hModule = GetModuleHandle( NULL ); |
234 | 234 | ||