index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2011-06-29 09:22:24 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-30 10:34:32 -0500 |
commit | 0f4aaeee42135d06dd18eb585eab3bae0e5fbf34 (patch) | |
tree | eafe70aa36b340f986eae2e87e84056e3057be43 /lib/libalpm/util.c | |
parent | 002d2fda7a4e7f85798684c15809d30d27dc7034 (diff) |
-rw-r--r-- | lib/libalpm/util.c | 2 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index 6fbe08ae..028ed8aa 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -300,7 +300,7 @@ int _alpm_unpack(pmhandle_t *handle, const char *archive, const char *prefix, /* If specific files were requested, skip entries that don't match. */ if(list) { char *entry_prefix = strdup(entryname); - char *p = strstr(prefix,"/"); + char *p = strstr(entry_prefix,"/"); if(p) { *(p+1) = '\0'; } |