From 7f6b4891a06591c93acf91389031cef7f7e6a153 Mon Sep 17 00:00:00 2001 From: anton <> Date: Mon, 5 Feb 2024 06:48:04 +0000 Subject: Cope with recent ctype.h prefix changes. --- src/regress/lib/libc/locale/uselocale/uselocale.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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 @@ -/* $OpenBSD: uselocale.c,v 1.8 2022/07/25 21:29:16 guenther Exp $ */ +/* $OpenBSD: uselocale.c,v 1.9 2024/02/05 06:48:04 anton Exp $ */ /* * Copyright (c) 2017, 2022 Ingo Schwarze * @@ -273,10 +273,10 @@ child_func(void *arg) TEST_R(nl_langinfo, "UTF-8", CODESET); TEST_R(nl_langinfo_l, "UTF-8", CODESET, _LOCALE_UTF8); TEST_R(nl_langinfo_l, "US-ASCII", CODESET, _LOCALE_C); - TEST_R(isalpha, _L, 0x65); /* e */ - TEST_R(isalpha_l, _L, 0x65, _LOCALE_UTF8); - TEST_R(isalpha_l, _L, 0x65, _LOCALE_C); - TEST_R(isalpha_l, _L, 0x65, _LOCALE_C); + TEST_R(isalpha, _CTYPE_L, 0x65); /* e */ + TEST_R(isalpha_l, _CTYPE_L, 0x65, _LOCALE_UTF8); + TEST_R(isalpha_l, _CTYPE_L, 0x65, _LOCALE_C); + TEST_R(isalpha_l, _CTYPE_L, 0x65, _LOCALE_C); TEST_R(isalpha, 0, 0x30); /* 0 */ TEST_R(isalpha_l, 0, 0x30, _LOCALE_UTF8); TEST_R(isalpha_l, 0, 0x30, _LOCALE_C); -- cgit v1.2.3-55-g6feb