Hacker News
points by Good4boothee 2 days ago | 0 comments
> did musl really feel the need to accommodate bad implementations like this

I don't know about this specific case but in general? Yes, totally. No one is going to fix all existing software that depends on libs behaving exactly as glibc, you have to accept some trade-offs. Either your new implementation stops being perfectly simple and clean, or no one uses it.

[–] Palomides 2 days ago
it's not "glibc behavior", returning null on error is in the spec
[–] NewJazz 2 days ago
To be fair the API is older than the POSIX spec.
[–] vova_hn2 2 days ago
See also: Hyrum's Law