diff options
author | Dan McGee <dan@archlinux.org> | 2008-03-26 20:19:44 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-03-26 20:19:44 -0500 |
commit | 1dfd841e40344ff401e0d9e8d61b55cb64b2681f (patch) | |
tree | d090556ffccabf55873b38cef3d52bc70cab1891 /lib/libalpm/db.h | |
parent | 5f1ccdbc27e3b4b92f9b65379db17a4d6523975d (diff) | |
download | pacman-1dfd841e40344ff401e0d9e8d61b55cb64b2681f.tar.xz |
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.h | 2 |
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; |