logoalt Hacker News

Good4boothee • today at 1:09 PM • 2 replies • view on HN

> 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.


Replies

Palomides • today at 1:50 PM

it's not "glibc behavior", returning null on error is in the spec

vova_hn2 • today at 2:27 PM

See also: Hyrum's Law