summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-05-30 19:45:02 +0000
committerwiz <wiz@pkgsrc.org>2005-05-30 19:45:02 +0000
commit5baac3d7e2bacd2f2b3681f1c91f8007a7384090 (patch)
tree45dec6b0ac8f3356e6c8ffc154402ec516b22e21 /pkgtools
parent1eda67b3940b1d15a3c631aa04265c37e9c83a77 (diff)
downloadpkgsrc-5baac3d7e2bacd2f2b3681f1c91f8007a7384090.tar.gz
Sync with base 1.53: Comment out too noisy warning.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/files/lib/str.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/lib/str.c b/pkgtools/pkg_install/files/lib/str.c
index 8a41181ec9c..8995afae198 100644
--- a/pkgtools/pkg_install/files/lib/str.c
+++ b/pkgtools/pkg_install/files/lib/str.c
@@ -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 @@ dewey_match(const char *pattern, const char *pkg)
/* 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)