Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/sys Define _RTLD_SOURCE in t_ptrace_wait.c



details:   https://anonhg.NetBSD.org/src/rev/f7884bafcca9
branches:  trunk
changeset: 466542:f7884bafcca9
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Dec 24 21:09:38 2019 +0000

description:
Define _RTLD_SOURCE in t_ptrace_wait.c

The __lwp_gettcb_fast() and __lwp_getprivate_fast() functions are
namespaced on a selection of ports.

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 76697663efa8 -r f7884bafcca9 tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Tue Dec 24 20:40:09 2019 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Tue Dec 24 21:09:38 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.143 2019/12/24 14:50:59 kamil Exp $        */
+/*     $NetBSD: t_ptrace_wait.c,v 1.144 2019/12/24 21:09:38 kamil Exp $        */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -27,9 +27,10 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.143 2019/12/24 14:50:59 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.144 2019/12/24 21:09:38 kamil Exp $");
 
 #define __LEGACY_PT_LWPINFO
+#define _RTLD_SOURCE
 
 #include <sys/param.h>
 #include <sys/types.h>



Home | Main Index | Thread Index | Old Index