Huw Davies : ntdll: Return STATUS_NOT_SUPPORTED if dlinfo() is not present.

Alexandre Julliard julliard at winehq.org
Wed Aug 4 16:41:37 CDT 2021


Module: wine
Branch: master
Commit: 41e84b3f07a7b284a52cc5d80de0b2d920fae1e4
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=41e84b3f07a7b284a52cc5d80de0b2d920fae1e4

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Aug  4 12:23:10 2021 +0100

ntdll: Return STATUS_NOT_SUPPORTED if dlinfo() is not present.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/unix/loader.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/ntdll/unix/loader.c b/dlls/ntdll/unix/loader.c
index f1dbe9f345e..8888376f2f0 100644
--- a/dlls/ntdll/unix/loader.c
+++ b/dlls/ntdll/unix/loader.c
@@ -1745,6 +1745,8 @@ NTSTATUS get_builtin_init_funcs( void *handle, void **funcs, SIZE_T len, SIZE_T
     if (init_func) *funcs++ = init_func;
     for (i = 0; i < init_arraysz / sizeof(*init_array); i++) funcs[i] = init_array[i];
     return STATUS_SUCCESS;
+#else
+    return STATUS_NOT_SUPPORTED;
 #endif
 }
 




More information about the wine-cvs mailing list