diff options
author | wiz <wiz> | 2005-05-30 19:45:02 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-05-30 19:45:02 +0000 |
commit | 7019dc022817e0ba232af621f5a7f9a5011c3864 (patch) | |
tree | 45dec6b0ac8f3356e6c8ffc154402ec516b22e21 | |
parent | eec32498d51134f9d0d08690dcfa6d64105f8569 (diff) | |
download | pkgsrc-7019dc022817e0ba232af621f5a7f9a5011c3864.tar.gz |
Sync with base 1.53: Comment out too noisy warning.
-rw-r--r-- | pkgtools/pkg_install/files/lib/str.c | 8 |
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) |