index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/db.h | 4 |
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index de8dfe2b..07fa1ef2 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -34,10 +34,12 @@ #define INFRQ_SCRIPLET 0x08 #define INFRQ_ALL 0xFF +#define DB_TREENAME_LEN 128 + /* Database */ typedef struct __pmdb_t { char *path; - char treename[128]; + char treename[DB_TREENAME_LEN]; DIR *dir; PMList *pkgcache; PMList *grpcache; |