Rémi Bernon (@rbernon) commented about dlls/ntdll/unix/loader.c:
*/ NTSTATUS WINAPI __wine_unix_call( unixlib_handle_t handle, unsigned int code, void *args ) {
- return ((unixlib_entry_t*)(UINT_PTR)handle)[code]( args );
- unixlib_entry_t *funcs = (unixlib_entry_t*)(UINT_PTR)handle;
- if (funcs[code])
Imho it would be better to not have NULL entry point in the first place, and return that status from them as needed.