Re: [PATCH] ntdll: Make LdrUnloadDLL() a stub for musl libc.
16 Nov
2016
16 Nov
'16
4:51 p.m.
He X <xw897002528(a)gmail.com> writes:
@@ -2898,6 +2898,7 @@ static void MODULE_DecRefCount( WINE_MODREF *wm ) */ NTSTATUS WINAPI LdrUnloadDll( HMODULE hModule ) { +#ifndef UNLOAD_AFTER_DLCLOSE WINE_MODREF *wm; NTSTATUS retv = STATUS_SUCCESS;
@@ -2932,6 +2933,10 @@ NTSTATUS WINAPI LdrUnloadDll( HMODULE hModule ) RtlLeaveCriticalSection( &loader_section );
return retv; +#else + TRACE("stab for musl\n"); + return STATUS_SUCCESS; +#endif
You can't do that, unloading dlls is necessary in many cases. The corresponding .so not being unloaded could probably be detected by using destructors, though fixing musl may be preferable. -- Alexandre Julliard julliard(a)winehq.org
3403
Age (days ago)
3403
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard