From 1dfd841e40344ff401e0d9e8d61b55cb64b2681f Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 26 Mar 2008 20:19:44 -0500 Subject: Make db->treename a pointer I really don't think we need statically allocated strings here. Signed-off-by: Dan McGee --- lib/libalpm/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/db.h') diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index 8c8c9bd7..743fa788 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -40,7 +40,7 @@ typedef enum _pmdbinfrq_t { /* Database */ struct __pmdb_t { char *path; - char treename[PATH_MAX]; + char *treename; void *handle; alpm_list_t *pkgcache; alpm_list_t *grpcache; -- cgit v1.2.3-70-g09d2