Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-02-16 21:02:39 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-02-16 21:02:39 +0000
commit58a7e85534f260a49a324dd5b3f408ce1e21cd18 (patch)
treef0b60c1c8a26a58400522ceee54fb908866a64a0 /lib/libalpm/package.c
parentdc0bacf18cfe2481516778905051879bd008f517 (diff)
- db_write: add support to write both local and sync entries
- code cleanup
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
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;