On Tue Jan 20 21:21:07 2026 +0000, Tim Clem wrote:
Oh hm, yes, that's a good point. I guess my thought was to fix the regression first and then consider the bigger picture. I'm not sure how we'd coerce Windows into doing returning a NULL canon name. I'm not even entirely sure how this happens on macOS - we are just getting reports that point to the `strcasecmp` failing with a NULL argument. It seems to arise from using `scutil --set HostName`, which results in `gethostname` returning something that doesn't quite resolve (or at least doesn't have a canon name). Hmm, okay. I don't know how else ai_canonname would ever be NULL on Windows, but the documentation does call it out. I suppose there's no reason to reject this patch, at least.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9938#note_127698