aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorBosko Milekic <bmilekic@FreeBSD.org>2003-08-04 03:02:36 +0000
committerBosko Milekic <bmilekic@FreeBSD.org>2003-08-04 03:02:36 +0000
commitd8af834050b55ad9da9b0d80ad1fa2314f02ad12 (patch)
treeb3e65fde0e1d69482f1646ebcff841033822b34f /usr.sbin/pkg_install
parent796263418b77094014f841760c1c477d1f82029c (diff)
downloadsrc-d8af834050b55ad9da9b0d80ad1fa2314f02ad12.tar.gz
src-d8af834050b55ad9da9b0d80ad1fa2314f02ad12.zip
Backout 1.14, it seems to be causing problems with libxml build
and I don't have time to investigate this code in much detail right now.
Notes
Notes: svn path=/head/; revision=118410
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/lib/match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/match.c b/usr.sbin/pkg_install/lib/match.c
index 550993a3fba3..5312c27c2041 100644
--- a/usr.sbin/pkg_install/lib/match.c
+++ b/usr.sbin/pkg_install/lib/match.c
@@ -212,7 +212,7 @@ matchbyorigin(const char *origin, int *retval)
continue;
cmd = plist_cmd(tmp + 1, &cp);
if (cmd == PLIST_ORIGIN) {
- if (strncmp(origin, cp, strlen(origin)) == 0)
+ if (strcmp(origin, cp) == 0)
storeappend(store, installed[i]);
break;
}