On Sun Apr 27 15:55:50 2025 +0000, Jinoh Kang wrote:
For implementing a *new* API it's generally desirable to match Windows, but doing that too much is sometimes a waste of time for both the author and the maintainer. Touching existing API, on the other hand, requires scrutiny due to possibility of regression etc.. "Try to implement accurately for known-used code path(s), and leave a FIXME() for others" seems like the sweet spot for me.
By the way, personally I think mismatches for unused code path is a good idea as long as it makes the code simpler. We can try to implement every trivial edge case, but then they collectively increase maintenance burden and risks making them too much close to some copyrighted commercial Win32 implementation from Redmond for no good reason that Wine could argue in court, IMHO.