Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/string Complete previous by complteley remov...
details: https://anonhg.NetBSD.org/src/rev/c2bc3ec924f7
branches: trunk
changeset: 829779:c2bc3ec924f7
user: martin <martin%NetBSD.org@localhost>
date: Mon Feb 12 11:14:15 2018 +0000
description:
Complete previous by complteley removing the _DIAGASSERT from memmove -
the accidental left over from previous fired on all legitimate calls
and caused PR bin/52986 and PR lib/52987.
diffstat:
common/lib/libc/string/bcopy.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r 93e440606ce9 -r c2bc3ec924f7 common/lib/libc/string/bcopy.c
--- a/common/lib/libc/string/bcopy.c Mon Feb 12 10:37:50 2018 +0000
+++ b/common/lib/libc/string/bcopy.c Mon Feb 12 11:14:15 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcopy.c,v 1.12 2018/02/04 20:22:17 mrg Exp $ */
+/* $NetBSD: bcopy.c,v 1.13 2018/02/12 11:14:15 martin Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)bcopy.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: bcopy.c,v 1.12 2018/02/04 20:22:17 mrg Exp $");
+__RCSID("$NetBSD: bcopy.c,v 1.13 2018/02/12 11:14:15 martin Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -88,10 +88,6 @@
size_t t;
unsigned long u;
-#if !defined(_KERNEL)
- _DIAGASSERT(length == 0);
-#endif
-
if (length == 0 || dst == src) /* nothing to do */
goto done;
Home |
Main Index |
Thread Index |
Old Index