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 There are two hard problems in computer s...



details:   https://anonhg.NetBSD.org/src/rev/e90bf35304b3
branches:  trunk
changeset: 366701:e90bf35304b3
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Jun 09 17:39:21 2022 +0000

description:
There are two hard problems in computer science cache invalidation, naming
and off-by-one errors.

Fix a naming and off-by-one bug... Thanks to Tom Lane for spotting my typo.

diffstat:

 tests/lib/libc/sys/t_ptrace_core_wait.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bc7833b98008 -r e90bf35304b3 tests/lib/libc/sys/t_ptrace_core_wait.h
--- a/tests/lib/libc/sys/t_ptrace_core_wait.h   Thu Jun 09 16:45:38 2022 +0000
+++ b/tests/lib/libc/sys/t_ptrace_core_wait.h   Thu Jun 09 17:39:21 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_core_wait.h,v 1.6 2022/06/07 05:39:16 skrll Exp $     */
+/*     $NetBSD: t_ptrace_core_wait.h,v 1.7 2022/06/09 17:39:21 skrll Exp $     */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019, 2020 The NetBSD Foundation, Inc.
@@ -208,7 +208,7 @@
        DPRINTF("Before resuming the child process where it left off and "
            "without signal to be sent\n");
 
-#if defined(__aarch64__) || defined(__arm__) || defined(__hppa___) || \
+#if defined(__aarch64__) || defined(__arm__) || defined(__hppa__) || \
     defined(__powerpc__) || defined(__sh3__) || defined(sparc)
        /*
         * For these archs, program counter is not automatically incremented



Home | Main Index | Thread Index | Old Index