From 49819beef5e9fbb68716aa38a013503179f975af Mon Sep 17 00:00:00 2001 From: anton Date: Mon, 5 Feb 2024 06:48:04 +0000 Subject: [PATCH] Cope with recent ctype.h prefix changes. --- regress/lib/libc/locale/uselocale/uselocale.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/regress/lib/libc/locale/uselocale/uselocale.c b/regress/lib/libc/locale/uselocale/uselocale.c index 6d174b232c6..4759eff46cb 100644 --- a/regress/lib/libc/locale/uselocale/uselocale.c +++ b/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); -- 2.20.1