diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-08 08:14:29 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-08 08:14:29 +0000 |
commit | 3e608e7e858166a15eb929df4d66f35f5e4689c5 (patch) | |
tree | 59ac5f7f827d93f26246aae16af47a65c9926137 /lib/libalpm/be_files.c | |
parent | 55f178c629ada663d2a8e5bbed029ec9482f00ea (diff) | |
download | pacman-3e608e7e858166a15eb929df4d66f35f5e4689c5.tar.xz |
* Improved mcheck output
* Added minor libalpm const correctness
* Mini-memory fixes
Diffstat (limited to 'lib/libalpm/be_files.c')
-rw-r--r-- | lib/libalpm/be_files.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index f90f6979..563f3216 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -178,8 +178,8 @@ int _alpm_db_read(pmdb_t *db, unsigned int inforeq, pmpkg_t *info) { FILE *fp = NULL; struct stat buf; - char path[PATH_MAX]; - char line[512]; + char path[PATH_MAX+1]; + char line[513]; char *lang_tmp; pmlist_t *tmplist; char *foo; |