Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Disable bogus _DIAGASSERT.
details: https://anonhg.NetBSD.org/src/rev/317dbfbec058
branches: trunk
changeset: 781457:317dbfbec058
user: dholland <dholland%NetBSD.org@localhost>
date: Fri Sep 07 04:50:35 2012 +0000
description:
Disable bogus _DIAGASSERT.
diffstat:
lib/libc/gen/getpwent.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4d99e69cd29b -r 317dbfbec058 lib/libc/gen/getpwent.c
--- a/lib/libc/gen/getpwent.c Fri Sep 07 04:40:13 2012 +0000
+++ b/lib/libc/gen/getpwent.c Fri Sep 07 04:50:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getpwent.c,v 1.79 2012/03/29 14:43:58 christos Exp $ */
+/* $NetBSD: getpwent.c,v 1.80 2012/09/07 04:50:35 dholland Exp $ */
/*-
* Copyright (c) 1997-2000, 2004-2005 The NetBSD Foundation, Inc.
@@ -88,7 +88,7 @@
#if 0
static char sccsid[] = "@(#)getpwent.c 8.2 (Berkeley) 4/27/95";
#else
-__RCSID("$NetBSD: getpwent.c,v 1.79 2012/03/29 14:43:58 christos Exp $");
+__RCSID("$NetBSD: getpwent.c,v 1.80 2012/09/07 04:50:35 dholland Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -1294,7 +1294,7 @@
data = NULL;
rv = NS_NOTFOUND;
- _DIAGASSERT(state->maptype > 0 && state->maptype < sizeof(map_arr)/sizeof(const char*));
+ /*_DIAGASSERT(state->maptype > 0 && state->maptype < sizeof(map_arr)/sizeof(const char*));*/
/* search map */
nisr = yp_match(state->domain, map_arr[state->maptype], buffer, (int)strlen(buffer),
Home |
Main Index |
Thread Index |
Old Index