Fix some issues while matching for required pkgdeps.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20091107154159-riikhswt1h3mm9xn
This commit is contained in:
@@ -113,6 +113,8 @@ xbps_pkgdep_match(const char *instpkg, char *pattern)
|
||||
char basefname[PATH_MAX], condchar = '\0', *condition;
|
||||
int rv = 0;
|
||||
|
||||
memset(&basefname, 0, sizeof(basefname));
|
||||
|
||||
condition = strpbrk(pattern, "><=");
|
||||
if (condition) {
|
||||
const char *ch;
|
||||
|
Reference in New Issue
Block a user