Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-03-26 20:19:44 -0500
committerDan McGee <dan@archlinux.org>2008-03-26 20:19:44 -0500
commit1dfd841e40344ff401e0d9e8d61b55cb64b2681f (patch)
treed090556ffccabf55873b38cef3d52bc70cab1891 /lib/libalpm/db.h
parent5f1ccdbc27e3b4b92f9b65379db17a4d6523975d (diff)
Make db->treename a pointer
I really don't think we need statically allocated strings here. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r--lib/libalpm/db.h2
1 files changed, 1 insertions, 1 deletions
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;