Ping Re: [v3] C2x strtol binary constant handling

Joseph Myers joseph@codesourcery.com
Fri Dec 30 15:24:02 GMT 2022


Ping.  This patch 
<https://sourceware.org/pipermail/libc-alpha/2022-December/144235.html>, 
and the scanf followup 
<https://sourceware.org/pipermail/libc-alpha/2022-December/144250.html>, 
are pending review.

I'll note for completeness that AFNOR comment FR-228 on the C2x CD 
expresses concern about the semantic change (see section 16 in N3072).  
Given that accepting 0b and 0B for base 2 strtol was an explicit change in 
a paper accepted by WG14 with no votes against (and I think I mentioned 
the consequences for strtol base 0 and scanf %i when binary constants were 
added), I don't think that comment is particularly likely to result in any 
changes to the working draft (and likewise for the point in the AFNOR 
comment about strtol not accepting digit separators - that was also an 
explicit change in the paper adding digit separators), but if it does 
result in any changes at the ballot resolution meeting (23-27 January) 
there would still be time to revert these changes before glibc 2.37 is 
released.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list