Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/usr.sbin/pkg_install/lib Pull up revision 1.53 (requested...



details:   https://anonhg.NetBSD.org/src/rev/6c05efad6c05
branches:  netbsd-3
changeset: 576213:6c05efad6c05
user:      tron <tron%NetBSD.org@localhost>
date:      Tue Jun 14 20:32:36 2005 +0000

description:
Pull up revision 1.53 (requested by wiz in ticket #455):
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 d9199d1f61e7 -r 6c05efad6c05 usr.sbin/pkg_install/lib/str.c
--- a/usr.sbin/pkg_install/lib/str.c    Tue Jun 14 20:31:16 2005 +0000
+++ b/usr.sbin/pkg_install/lib/str.c    Tue Jun 14 20:32:36 2005 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: str.c,v 1.50.2.2 2005/06/14 20:31:16 tron Exp $        */
+/*     $NetBSD: str.c,v 1.50.2.3 2005/06/14 20:32:36 tron 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.50.2.2 2005/06/14 20:31:16 tron Exp $");
+__RCSID("$NetBSD: str.c,v 1.50.2.3 2005/06/14 20:32:36 tron 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