diff options
| author | mgorny <mgorny@NetBSD.org> | 2020-03-08 22:09:42 +0000 |
|---|---|---|
| committer | mgorny <mgorny@NetBSD.org> | 2020-03-08 22:09:42 +0000 |
| commit | c7584099140f776e9a9232e812e18fcda6eb68d0 (patch) | |
| tree | 2d3ea641f8a7579c94e914833200551dc486aabd /tests/include | |
| parent | 1f43e44dd2fba5bf3926894790c61c725bb2a5f0 (diff) | |
PR standards/44921: Add errno consts for robust mutexes
Add the two missing errno.h constants: EOWNERDEAD and ENOTRECOVERABLE.
While technically they're used for robust mutexes which we do not
support at the moment, they are listed in POSIX and used by libc++.
While libc++ can be made to build without it, it just locally redefines
the values then, so we may as well define them globally.
Diffstat (limited to 'tests/include')
| -rw-r--r-- | tests/include/t_errno.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/include/t_errno.c b/tests/include/t_errno.c index 763e5697aad..5f1e48259e9 100644 --- a/tests/include/t_errno.c +++ b/tests/include/t_errno.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_errno.c,v 1.1 2011/05/01 17:07:05 jruoho Exp $ */ +/* $NetBSD: t_errno.c,v 1.2 2020/03/08 22:09:43 mgorny Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_errno.c,v 1.1 2011/05/01 17:07:05 jruoho Exp $"); +__RCSID("$NetBSD: t_errno.c,v 1.2 2020/03/08 22:09:43 mgorny Exp $"); #include <atf-c.h> #include <errno.h> @@ -48,7 +48,6 @@ ATF_TC_BODY(errno_constants, tc) * The following definitions should be available * according to IEEE Std 1003.1-2008, issue 7. */ - atf_tc_expect_fail("PR standards/44921"); fail = true; |
