Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/regex Adjust for conditional NLS



details:   https://anonhg.NetBSD.org/src/rev/99661d2a364c
branches:  trunk
changeset: 959806:99661d2a364c
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 25 22:37:36 2021 +0000

description:
Adjust for conditional NLS

diffstat:

 tests/lib/libc/regex/Makefile |  4 ++--
 tests/lib/libc/regex/debug.c  |  4 +---
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r a63c57e584a4 -r 99661d2a364c tests/lib/libc/regex/Makefile
--- a/tests/lib/libc/regex/Makefile     Thu Feb 25 21:59:27 2021 +0000
+++ b/tests/lib/libc/regex/Makefile     Thu Feb 25 22:37:36 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2016/08/26 01:31:43 darcy Exp $
+# $NetBSD: Makefile,v 1.11 2021/02/25 22:37:36 christos Exp $
 
 NOMAN=
 
@@ -10,7 +10,7 @@
 BINDIR=                ${TESTSDIR}
 PROGS?=                h_regex
 SRCS.h_regex=  main.c split.c debug.c
-CPPFLAGS+=     -I${NETBSDSRCDIR}/lib/libc/regex ${IMPLEMENTATION}
+CPPFLAGS+=     -I${NETBSDSRCDIR}/lib/libc/regex ${IMPLEMENTATION} -DNLS
 
 TESTS_SH?=     t_regex
 TESTS_C=       t_regex_att
diff -r a63c57e584a4 -r 99661d2a364c tests/lib/libc/regex/debug.c
--- a/tests/lib/libc/regex/debug.c      Thu Feb 25 21:59:27 2021 +0000
+++ b/tests/lib/libc/regex/debug.c      Thu Feb 25 22:37:36 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: debug.c,v 1.6 2021/02/24 18:18:53 christos Exp $       */
+/*     $NetBSD: debug.c,v 1.7 2021/02/25 22:37:36 christos Exp $       */
 
 /*-
  * Copyright (c) 1993 The NetBSD Foundation, Inc.
@@ -33,8 +33,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <wchar.h>
-#include <wctype.h>
 
 #ifndef __linux__
 /* Don't sort these! */



Home | Main Index | Thread Index | Old Index