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 src/usr.sbin ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cc4d8fb2ffba
branches: trunk
changeset: 510867:cc4d8fb2ffba
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Apr 05 18:17:08 2006 +0000
description:
Sync with src/usr.sbin v1.62:
When recognizing a broken package version/name,
make sure to error out really, don't just print a warning
and the run into further problems.
Coverity CID 2739.
diffstat:
pkgtools/pkg_install/files/lib/str.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 3c0744b15e30 -r cc4d8fb2ffba pkgtools/pkg_install/files/lib/str.c
--- a/pkgtools/pkg_install/files/lib/str.c Wed Apr 05 17:16:22 2006 +0000
+++ b/pkgtools/pkg_install/files/lib/str.c Wed Apr 05 18:17:08 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: str.c,v 1.17 2006/04/04 06:36:12 wiz Exp $ */
+/* $NetBSD: str.c,v 1.18 2006/04/05 18:17:08 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.17 2006/04/04 06:36:12 wiz Exp $");
+__RCSID("$NetBSD: str.c,v 1.18 2006/04/05 18:17:08 wiz Exp $");
#endif
#endif
@@ -315,6 +315,7 @@
fprintf(stderr,
"'%s' has no usable package(version)\n",
best);
+ found_version = NULL; /* error out cheaply */
}
}
Home |
Main Index |
Thread Index |
Old Index