index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-02-08 21:16:36 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-11 10:23:43 -0600 |
commit | 06cbb516c35eb81220064878ff202c3107b12c99 (patch) | |
tree | ea0caedb4afbb01b3ad3ade7f140d55826433247 | |
parent | 56721c12cec02366816130aafaa974667db59a93 (diff) |
-rw-r--r-- | lib/libalpm/be_package.c | 1 |
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index 7e46c08e..38448b43 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -175,6 +175,7 @@ static int parse_descfile(struct archive *a, pmpkg_t *newpkg) newpkg->name ? newpkg->name : "error", linenum); } else { key = _alpm_strtrim(key); + while(*ptr == ' ') ptr++; ptr = _alpm_strtrim(ptr); if(strcmp(key, "pkgname") == 0) { STRDUP(newpkg->name, ptr, RET_ERR(PM_ERR_MEMORY, -1)); |