4 ms·
musl has a better track record of standards compliance than glibc. Common method for porting to musl is putting non-standard compliant code into an ifdef glibc.
by blueflow 3y ago
musl has a better track record of standards compliance than glibc. Common method for porting to musl is putting non-standard compliant code into an ifdef glibc.
- kazinator 3y agoCounterexample: musl's crypt() does silly things, like treat all unrecognized inputs as DES, even if the salt characters are invalid.
- q66 3y agoat least it actually supports blowfish
- kelnos 3y agoThis is, of course, the same musl that refused to implement TCP DNS requests until very recently. And they only did so because the DNS standards people got fed up with people not implementing it, and made it a requirement.
- blueflow 3y agoAnd glibc is the one not implementing strlcpy and strlcat until June 2023.
- pantalaimon 3y agostrscpy is the better API anyway
- fanf2 3y agoIt was made a requirement by RFC 7766 in 2016 https://www.rfc-editor.org/rfc/rfc7766#page-6 https://www.rfc-editor.org/rfc/rfc7766#page-6
- smsm42 3y agoI do not know about standards, but I know the only deployment images I have problems all the time with random weird DNS failures are the musl-based ones. No idea what causes it, but makes me wish to get rid of all musl usage just to have stable deployments.