[PATCH 00/15] stdio-common: Formatted scanf input specifier test follow-up updates

Maciej W. Rozycki macro@orcam.me.uk
Sat Apr 19 10:43:23 GMT 2025


Hi,

 This is a set of follow-up updates for formatted scanf input specifier 
tests recently added, either to fix further compliance issues discovered 
with scanf family functions, or to fix issues with the tests themselves.

 The updates form several individual or groups of patches addressing each 
of the issues, however they have been bundled into this patchset to avoid 
merge conflicts as there are mechanical overlaps.  Here's a summary of the 
subsets:

- fix input read beyond the field width with real conversions (01/15),

- reject significands with no digits (02/15, 03/15, 04/15, 05/15),

- reject input of insufficient width with the 'c' conversion (06/15),

- fix error handling in real data verification (07/15, 08/15),

- fix issues with reference NaN processing (09/15, 10/15, 11/15, 12/15),

- fix data-type-specific skeleton inclusion for any sysdeps/ variant to
  take precedence even in the presence of a corresponding skeleton in 
  stdio-common/ (13/15),

- convert 'compare_real', 'read_real', and 'verify_input' from macros to 
  functions (14/15, 15/15).

 Verified with `powerpc64le-linux-gnu' (IBM POWER9) native configuration
and the same host and `i386-linux-gnu' (Intel Pentium MMX) remote target.

 Questions, comments, concerns?  Otherwise OK to apply?

  Maciej


More information about the Libc-alpha mailing list