23 Nov
2022
23 Nov
'22
7:31 p.m.
Unfortunately this patch seems to be causing Wine to crash, at least on macOS Ventura and Monterey. After the preloader loads the wine loader, `environ` in the loader is NULL for some reason. I'm still looking into this, but as a quick hack, using `*(NSGetEnviron())` (and including `<crt_externs.h>`) instead of `environ` in main() works. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1396#note_17218