aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-02-01 17:55:57 +0000
committerJoseph Myers <josmyers@redhat.com>2024-02-01 17:55:57 +0000
commit83d8d289b295406e30bc8a079286b093d552c3a5 (patch)
treece6dfd0900446539437d31ea7bf32b44f2169a9e /stdio-common
parentc62b6265a641aaec4b0fa1b3fe622c2edf9c3821 (diff)
downloadglibc-83d8d289b295406e30bc8a079286b093d552c3a5.zip
glibc-83d8d289b295406e30bc8a079286b093d552c3a5.tar.gz
glibc-83d8d289b295406e30bc8a079286b093d552c3a5.tar.bz2
Rename c2x / gnu2x tests to c23 / gnu23
Complete the internal renaming from "C2X" and related names in GCC by renaming *-c2x and *-gnu2x tests to *-c23 and *-gnu23. Tested for x86_64, and with build-many-glibcs.py for powerpc64le.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/Makefile4
-rw-r--r--stdio-common/tst-scanf-binary-c23.c (renamed from stdio-common/tst-scanf-binary-c2x.c)0
2 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 60a7f4c..6447b6b 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -240,7 +240,7 @@ tests := \
tst-renameat2 \
tst-rndseek \
tst-scanf-binary-c11 \
- tst-scanf-binary-c2x \
+ tst-scanf-binary-c23 \
tst-scanf-binary-gnu11 \
tst-scanf-binary-gnu89 \
tst-scanf-intn \
@@ -495,7 +495,7 @@ CFLAGS-tst-memstream-string.c += -fno-builtin-fprintf
# the test for that version uses -std=c11 and then _ISOC23_SOURCE is defined in
# the test as needed.
CFLAGS-tst-scanf-binary-c11.c += -std=c11 -DOBJPFX=\"$(objpfx)\"
-CFLAGS-tst-scanf-binary-c2x.c += -std=c11 -DOBJPFX=\"$(objpfx)\"
+CFLAGS-tst-scanf-binary-c23.c += -std=c11 -DOBJPFX=\"$(objpfx)\"
CFLAGS-tst-scanf-binary-gnu11.c += -std=gnu11 -DOBJPFX=\"$(objpfx)\"
CFLAGS-tst-scanf-binary-gnu89.c += -std=gnu89 -DOBJPFX=\"$(objpfx)\"
diff --git a/stdio-common/tst-scanf-binary-c2x.c b/stdio-common/tst-scanf-binary-c23.c
index ebb9f04..ebb9f04 100644
--- a/stdio-common/tst-scanf-binary-c2x.c
+++ b/stdio-common/tst-scanf-binary-c23.c