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 Add support for ENOSYS (was never set)
details: https://anonhg.NetBSD.org/src/rev/04f16307064f
branches: trunk
changeset: 959753:04f16307064f
user: christos <christos%NetBSD.org@localhost>
date: Tue Feb 23 16:00:37 2021 +0000
description:
Add support for ENOSYS (was never set)
diffstat:
tests/lib/libc/regex/t_regex_att.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r d6c58c505480 -r 04f16307064f tests/lib/libc/regex/t_regex_att.c
--- a/tests/lib/libc/regex/t_regex_att.c Tue Feb 23 15:56:29 2021 +0000
+++ b/tests/lib/libc/regex/t_regex_att.c Tue Feb 23 16:00:37 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_regex_att.c,v 1.3 2017/01/14 20:59:23 christos Exp $ */
+/* $NetBSD: t_regex_att.c,v 1.4 2021/02/23 16:00:37 christos Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_regex_att.c,v 1.3 2017/01/14 20:59:23 christos Exp $");
+__RCSID("$NetBSD: t_regex_att.c,v 1.4 2021/02/23 16:00:37 christos Exp $");
#include <sys/param.h>
@@ -284,7 +284,12 @@
_DO(EMPTY, COMP)
_DO(ASSERT, COMP)
_DO(INVARG, COMP)
+#ifdef REG_ENOSYS
_DO(ENOSYS, COMP)
+#endif
+#ifdef REG_ILLSEQ
+ _DO(ILLSEQ, COMP)
+#endif
#undef _DO
};
*comp = 0;
Home |
Main Index |
Thread Index |
Old Index