Our great sponsors
-
freebsd-src
The FreeBSD src tree publish-only repository. Experimenting with 'simple' pull requests....
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
My cursory glance at the FreeBSD implementation of sscanf leads me to believe that it calls strlen just so that it can provide the size for a fake FILE struct that it uses to share an implementation between sscanf and fscanf.
What I don't understand is how the linked commit (https://github.com/libfive/libfive/commit/6c6b4ad91ab1b443969ce8d4300a30e8ecd5d8b2) fixes anything? I see one noticeable change from i=0 to i=1, but otherwise how does that code fix anything?