aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sysctl.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@redhat.com>2025-03-25 09:40:20 +0000
committerMaciej W. Rozycki <macro@redhat.com>2025-03-25 09:40:20 +0000
commita2bacea239c1780b20a1b23a9c3c836ef61c6172 (patch)
treef0b8bacfc73eafe303320ebcc3d41be77132d99e /sysdeps/unix/sysv/linux/sysctl.c
parentd7584e4d367ccb281ecf68980995e9b5ca0aff46 (diff)
downloadglibc-a2bacea239c1780b20a1b23a9c3c836ef61c6172.zip
glibc-a2bacea239c1780b20a1b23a9c3c836ef61c6172.tar.gz
glibc-a2bacea239c1780b20a1b23a9c3c836ef61c6172.tar.bz2
stdio-common: Add scanf integer data for LP64 targets
Add Makefile infrastructure and `int' and `long' integer input data, signed and unsigned, for LP64 targets. While the size of `int' data is the same between ILP32 and LP64 targets, resulting scanf output is different between them for out of range input data and while ISO C and POSIX both say that the behavior is undefined if the result of the conversion cannot be represented we want to keep track of our output to prevent inadvertent changes. Hence the use of distinct `int' integer input data between ILP32 and LP64 targets. Keep input data disabled and referring to BZ #12701 for entries that are are currently incorrectly accepted as valid data, such as '0b' or '0x'. Reviewed-by: Joseph Myers <josmyers@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/sysctl.c')
0 files changed, 0 insertions, 0 deletions