index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-02-16 21:02:39 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-02-16 21:02:39 +0000 |
commit | 58a7e85534f260a49a324dd5b3f408ce1e21cd18 (patch) | |
tree | f0b60c1c8a26a58400522ceee54fb908866a64a0 /lib/libalpm/package.c | |
parent | dc0bacf18cfe2481516778905051879bd008f517 (diff) |
-rw-r--r-- | lib/libalpm/package.c | 2 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index bf5585d2..91b57b0e 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -149,7 +149,7 @@ void pkg_free(pmpkg_t *pkg) static int parse_descfile(char *descfile, pmpkg_t *info, int output) { FILE* fp = NULL; - char line[PATH_MAX+1]; + char line[PATH_MAX]; char* ptr = NULL; char* key = NULL; int linenum = 0; |