diff options
| author | Bosko Milekic <bmilekic@FreeBSD.org> | 2003-08-01 17:26:41 +0000 |
|---|---|---|
| committer | Bosko Milekic <bmilekic@FreeBSD.org> | 2003-08-01 17:26:41 +0000 |
| commit | 1d324ddef89c564b49103d63de115ce4fb4ad57b (patch) | |
| tree | a5f8a752d52b113384cbd6dbd48966a9520036d0 /usr.sbin | |
| parent | 9925de28085dd14710af9d0aff96d8d5b84566af (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/pkg_install/lib/match.c | 2 |
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 5312c27c2041..550993a3fba3 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 (strcmp(origin, cp) == 0) + if (strncmp(origin, cp, strlen(origin)) == 0) storeappend(store, installed[i]); break; } |
