https://bugs.winehq.org/show_bug.cgi?id=44235
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Constantine from comment #7)
(In reply to Nikolay Sivov from comment #6)
(In reply to Shawn Starr from comment #4)
That goes against the original stated goals:
https://wiki.winehq.org/Developer_FAQ#How_can_I_detect_Wine.3F
This paragraph says that detecting Wine is usually not a good idea, but offers a way to do so. It's a message to application developers, not Wine developers, so I'm not sure why you linked it here.
The paragraph says the following:
The goal of Wine is that an application will see no difference running under Wine rather than Windows.
The bug in question is clearly a violation of that sentence.
I don't think so, but maybe it should be worded better on that page. What was meant to say is that the goal is to be compatible enough that an application should see no difference in behavior, and therefore should not apply any workarounds, different paths, and so on. But, if developer wants to detect if it's running under Wine, there's a way to do so, and there always will be.