[PATCH] ntdll: Return STATUS_NOT_SUPPORTED if dlinfo() is not present.
Huw Davies
huw at codeweavers.com
Wed Aug 4 06:24:49 CDT 2021
On Wed, Aug 04, 2021 at 12:13:20PM +0100, Huw Davies wrote:
> Signed-off-by: Huw Davies <huw at codeweavers.com>
> ---
> dlls/ntdll/unix/loader.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/dlls/ntdll/unix/loader.c b/dlls/ntdll/unix/loader.c
> index c2f79bc2c44..30915e443be 100644
> --- a/dlls/ntdll/unix/loader.c
> +++ b/dlls/ntdll/unix/loader.c
> @@ -1744,6 +1744,7 @@ NTSTATUS get_builtin_init_funcs( void *handle, void **funcs, SIZE_T len, SIZE_T
> for (i = 0; i < init_arraysz / sizeof(*init_array); i++) funcs[i] = init_array[i];
> return STATUS_SUCCESS;
> #endif
> + return STATUS_NOT_SUPPORTED;
> }
Actually, it would be better to place that in an #else block, I'll
send another version.
Huw.
More information about the wine-devel
mailing list