On Tue Jan 20 20:16:51 2026 +0000, Elizabeth Figura wrote:
What about Windows, though? Can we test Windows in analogous setups? If Windows never returns NULL then we should probably follow that, and work around it in ws2_32. FWIW, MSDN does say this: "The getaddrinfo function can return success when the AI_CANONNAME flag is set, yet the ai_canonname member in the associated addrinfo structure is NULL. Therefore, the recommended use of the AI_CANONNAME flag includes testing whether the ai_canonname member in the associated addrinfo structure is NULL." But we all know how much to trust MSDN. Oh hm, yes, that's a good point. I guess my thought was to fix the regression first and then consider the bigger picture.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9938#note_127444