Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/pkg_install/lib Comment out too noisy warning.
details: https://anonhg.NetBSD.org/src/rev/3685e74b0ee9
branches: trunk
changeset: 581265:3685e74b0ee9
user: wiz <wiz%NetBSD.org@localhost>
date: Mon May 30 19:44:03 2005 +0000
description:
Comment out too noisy warning.
diffstat:
usr.sbin/pkg_install/lib/str.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 75ab071d2a93 -r 3685e74b0ee9 usr.sbin/pkg_install/lib/str.c
--- a/usr.sbin/pkg_install/lib/str.c Mon May 30 18:33:15 2005 +0000
+++ b/usr.sbin/pkg_install/lib/str.c Mon May 30 19:44:03 2005 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: str.c,v 1.52 2005/05/30 13:10:14 wiz Exp $ */
+/* $NetBSD: str.c,v 1.53 2005/05/30 19:44:03 wiz Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static const char *rcsid = "Id: str.c,v 1.5 1997/10/08 07:48:21 charnier Exp";
#else
-__RCSID("$NetBSD: str.c,v 1.52 2005/05/30 13:10:14 wiz Exp $");
+__RCSID("$NetBSD: str.c,v 1.53 2005/05/30 19:44:03 wiz Exp $");
#endif
#endif
@@ -366,7 +366,11 @@
/* compare names */
if ((version=strrchr(pkg, '-')) == NULL) {
+#if 0
+ /* too noisy, warns about "pkgdb.byfile.db" on
+ * every invocation */
warnx("Invalid package name `%s'", pkg);
+#endif
return 0;
}
if ((sep = strpbrk(pattern, "<>")) == NULL)
Home |
Main Index |
Thread Index |
Old Index