1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-26 00:57:39 +03:00
Files
glibc/stdio-common
Maciej W. Rozycki da2a2581c4 stdio-common: Fix error reporting in scanf input specifier tests
Remove buffer contents reporting from the real variant of 'verify_input'
where there has been an input data format error making the contents of
data buffers irrelevant.

For example given invalid float input data:

%a:nan:1:3:nan(:

these messages are produced:

error: ./tst-scanf-format-skeleton.c:240: input buffer: `0000c07f'
error: ./tst-scanf-format-skeleton.c:240: value buffer: `0000c07f'
error: ./tst-scanf-format-skeleton.c:242: input line 1: input data format error

with the two former lines irrelevant.  Remove them from output then,
only leaving:

error: ./tst-scanf-format-skeleton.c:242: input line 1: input data format error

No test case added as it's a test case issue in the first place.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
2025-08-23 01:02:46 +01:00
..
2024-12-22 17:29:28 +08:00
2023-06-13 19:59:08 -04:00
2023-06-13 19:59:08 -04:00
2024-12-22 17:29:28 +08:00
2023-06-01 13:01:32 -04:00
2023-06-13 19:59:08 -04:00
2021-09-03 22:06:44 +05:30
2023-06-01 13:01:32 -04:00
2023-05-18 12:34:00 -04:00
2023-05-18 12:34:00 -04:00
2023-05-18 12:34:00 -04:00
2025-04-28 09:51:59 -03:00
2025-05-16 19:53:09 +02:00
2023-06-13 19:59:08 -04:00
2025-01-28 12:50:50 -05:00
2023-10-30 13:03:59 -03:00