summaryrefslogtreecommitdiff
path: root/src/regress/lib
diff options
context:
space:
mode:
authoranton <>2024-02-05 06:48:04 +0000
committeranton <>2024-02-05 06:48:04 +0000
commit7f6b4891a06591c93acf91389031cef7f7e6a153 (patch)
tree9b8c57078de9d89d96b5b5bd29024b38f2a13cc0 /src/regress/lib
parent7558dcfc28271ad81776240f52ab3d1106e3fd55 (diff)
downloadopenbsd-7f6b4891a06591c93acf91389031cef7f7e6a153.tar.gz
openbsd-7f6b4891a06591c93acf91389031cef7f7e6a153.tar.bz2
openbsd-7f6b4891a06591c93acf91389031cef7f7e6a153.zip
Cope with recent ctype.h prefix changes.
Diffstat (limited to 'src/regress/lib')
-rw-r--r--src/regress/lib/libc/locale/uselocale/uselocale.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/regress/lib/libc/locale/uselocale/uselocale.c b/src/regress/lib/libc/locale/uselocale/uselocale.c
index 6d174b232c..4759eff46c 100644
--- a/src/regress/lib/libc/locale/uselocale/uselocale.c
+++ b/src/regress/lib/libc/locale/uselocale/uselocale.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: uselocale.c,v 1.8 2022/07/25 21:29:16 guenther Exp $ */ 1/* $OpenBSD: uselocale.c,v 1.9 2024/02/05 06:48:04 anton Exp $ */
2/* 2/*
3 * Copyright (c) 2017, 2022 Ingo Schwarze <schwarze@openbsd.org> 3 * Copyright (c) 2017, 2022 Ingo Schwarze <schwarze@openbsd.org>
4 * 4 *
@@ -273,10 +273,10 @@ child_func(void *arg)
273 TEST_R(nl_langinfo, "UTF-8", CODESET); 273 TEST_R(nl_langinfo, "UTF-8", CODESET);
274 TEST_R(nl_langinfo_l, "UTF-8", CODESET, _LOCALE_UTF8); 274 TEST_R(nl_langinfo_l, "UTF-8", CODESET, _LOCALE_UTF8);
275 TEST_R(nl_langinfo_l, "US-ASCII", CODESET, _LOCALE_C); 275 TEST_R(nl_langinfo_l, "US-ASCII", CODESET, _LOCALE_C);
276 TEST_R(isalpha, _L, 0x65); /* e */ 276 TEST_R(isalpha, _CTYPE_L, 0x65); /* e */
277 TEST_R(isalpha_l, _L, 0x65, _LOCALE_UTF8); 277 TEST_R(isalpha_l, _CTYPE_L, 0x65, _LOCALE_UTF8);
278 TEST_R(isalpha_l, _L, 0x65, _LOCALE_C); 278 TEST_R(isalpha_l, _CTYPE_L, 0x65, _LOCALE_C);
279 TEST_R(isalpha_l, _L, 0x65, _LOCALE_C); 279 TEST_R(isalpha_l, _CTYPE_L, 0x65, _LOCALE_C);
280 TEST_R(isalpha, 0, 0x30); /* 0 */ 280 TEST_R(isalpha, 0, 0x30); /* 0 */
281 TEST_R(isalpha_l, 0, 0x30, _LOCALE_UTF8); 281 TEST_R(isalpha_l, 0, 0x30, _LOCALE_UTF8);
282 TEST_R(isalpha_l, 0, 0x30, _LOCALE_C); 282 TEST_R(isalpha_l, 0, 0x30, _LOCALE_C);