Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch There are two times the same branches.
details: https://anonhg.NetBSD.org/src/rev/2ab524edc812
branches: trunk
changeset: 328733:2ab524edc812
user: maxv <maxv%NetBSD.org@localhost>
date: Tue Apr 15 17:53:09 2014 +0000
description:
There are two times the same branches.
} else if (addr == LUSR_OFF(__signal)) {
error = ENOTSUP;
} else if (addr == LUSR_OFF(__signal)) {
error = ENOTSUP;
}
Just delete one of them. Spotted by my code scanner.
ok christos@
diffstat:
sys/compat/linux/arch/i386/linux_ptrace.c | 6 ++----
sys/compat/linux/arch/powerpc/linux_ptrace.c | 6 ++----
2 files changed, 4 insertions(+), 8 deletions(-)
diffs (54 lines):
diff -r 26714f414cef -r 2ab524edc812 sys/compat/linux/arch/i386/linux_ptrace.c
--- a/sys/compat/linux/arch/i386/linux_ptrace.c Tue Apr 15 17:29:00 2014 +0000
+++ b/sys/compat/linux/arch/i386/linux_ptrace.c Tue Apr 15 17:53:09 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ptrace.c,v 1.27 2014/01/04 00:10:03 dsl Exp $ */
+/* $NetBSD: linux_ptrace.c,v 1.28 2014/04/15 17:53:09 maxv Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.27 2014/01/04 00:10:03 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.28 2014/04/15 17:53:09 maxv Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@@ -323,8 +323,6 @@
*retval = led->led_debugreg[off];
} else if (addr == LUSR_OFF(__signal)) {
error = ENOTSUP;
- } else if (addr == LUSR_OFF(__signal)) {
- error = ENOTSUP;
} else if (addr == LUSR_OFF(u_fpstate)) {
error = ENOTSUP;
} else if (addr == LUSR_OFF(__magic)) {
diff -r 26714f414cef -r 2ab524edc812 sys/compat/linux/arch/powerpc/linux_ptrace.c
--- a/sys/compat/linux/arch/powerpc/linux_ptrace.c Tue Apr 15 17:29:00 2014 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_ptrace.c Tue Apr 15 17:53:09 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ptrace.c,v 1.24 2014/01/04 00:10:03 dsl Exp $ */
+/* $NetBSD: linux_ptrace.c,v 1.25 2014/04/15 17:53:09 maxv Exp $ */
/*-
* Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.24 2014/01/04 00:10:03 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.25 2014/04/15 17:53:09 maxv Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@@ -296,8 +296,6 @@
*retval = regs->cr;
else if (addr == LUSR_OFF(signal))
error = 1;
- else if (addr == LUSR_OFF(signal))
- error = 1;
else if (addr == LUSR_OFF(magic))
error = 1;
else if (addr == LUSR_OFF(u_comm))
Home |
Main Index |
Thread Index |
Old Index