index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-19 17:55:57 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-19 17:55:57 +0000 |
commit | 0d69a4aeb077775288ada9cb418993f20a6060e3 (patch) | |
tree | 710f118bb28c307c0ca09a0ba16ffdde3050ae02 /lib/libalpm/db.c | |
parent | 5dd92d9d521dfd744b17c4ba97a88928ba239a84 (diff) |
-rw-r--r-- | lib/libalpm/db.c | 2 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 47cdec8c..922aeaea 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -143,7 +143,7 @@ pmpkg_t *db_scan(pmdb_t *db, char *target, unsigned int inforeq) struct dirent *ent = NULL; struct stat sbuf; char path[PATH_MAX]; - char name[256]; + char name[PKG_NAME_LEN+PKG_VERSION_LEN]; char *ptr = NULL; int ret, found = 0; pmpkg_t *pkg; |