Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-13 01:46:33 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-13 01:46:33 +0000
commitaf48c695eb154410cf6f69c7aa9baf92a33a752c (patch)
treeab1e4f271b6ffaa2035804dda3ecf9424e315de4 /lib/libalpm/package.h
parent89099871a4c5404eba9915bf1dda7976e54d0e8b (diff)
Removed desc_localized for the time being. We don't have localized
descriptions, nor do we actually build them with the newest makepkg. The actual implementation in here seems like it could be done better, and it soaks a large amount of CPU time according to profilers.
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 636512bb..7de82375 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -41,7 +41,7 @@ typedef enum _pmpkgfrom_t {
#define PKG_FILENAME_LEN 512
#define PKG_NAME_LEN 256
#define PKG_VERSION_LEN 64
-#define PKG_FULLNAME_LEN (PKG_NAME_LEN-1)+1+(PKG_VERSION_LEN-1)+1
+#define PKG_FULLNAME_LEN (PKG_NAME_LEN + PKG_VERSION_LEN)
#define PKG_DESC_LEN 512
#define PKG_URL_LEN 256
#define PKG_DATE_LEN 32
@@ -70,7 +70,7 @@ struct __pmpkg_t {
unsigned short force;
time_t date;
pmpkgreason_t reason;
- alpm_list_t *desc_localized;
+ /* alpm_list_t *desc_localized;*/
alpm_list_t *license;
alpm_list_t *replaces;
alpm_list_t *groups;