pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/lib Sync with base 1.53: Co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/acff603fba79
branches:  trunk
changeset: 494800:acff603fba79
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon May 30 19:45:02 2005 +0000

description:
Sync with base 1.53: Comment out too noisy warning.

diffstat:

 pkgtools/pkg_install/files/lib/str.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 322cff76a5ec -r acff603fba79 pkgtools/pkg_install/files/lib/str.c
--- a/pkgtools/pkg_install/files/lib/str.c      Mon May 30 19:03:29 2005 +0000
+++ b/pkgtools/pkg_install/files/lib/str.c      Mon May 30 19:45:02 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: str.c,v 1.12 2005/05/30 13:23:32 wiz Exp $     */
+/*     $NetBSD: str.c,v 1.13 2005/05/30 19:45:02 wiz Exp $     */
 
 #if HAVE_CONFIG_H
 #include "config.h"
@@ -11,7 +11,7 @@
 #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.12 2005/05/30 13:23:32 wiz Exp $");
+__RCSID("$NetBSD: str.c,v 1.13 2005/05/30 19:45:02 wiz Exp $");
 #endif
 #endif
 
@@ -378,7 +378,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