[v3] C2x scanf binary constant handling

Andreas Schwab schwab@suse.de
Tue Feb 21 09:17:30 GMT 2023


On Feb 21 2023, Joseph Myers wrote:

>> Should we also add test for ill formatted inputs?
>
> I don't think there's a real difference here between "ill formatted
> for %i with the new feature" and "ill formatted for %i without the
> feature" - some new cases become accepted with the feature, but
> nothing is an ill formatted input that wasn't already.

Perhaps add a test with a lone "0b" which at least triggers a new code
path.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list