diff options
author | Dan McGee <dan@archlinux.org> | 2007-09-23 12:20:48 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-09-23 12:20:48 -0500 |
commit | d3c80030201b555efba2f31811cff627a3fdeaf8 (patch) | |
tree | f02cd6d1f11a3510732a97c8feffed8528cb81de /lib/libalpm/package.c | |
parent | 443950b7e9c40493a184d55caaa71c2b4daa3ffd (diff) | |
download | pacman-d3c80030201b555efba2f31811cff627a3fdeaf8.tar.xz |
alpm: removed unused strtoupper wrapper, remove installeddate on parse_descfile
installdate should never be present in a package descfile, so get rid of it.
With the last commit, we also don't need the util strtoupper function.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r-- | lib/libalpm/package.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index f8cba1fc..64a63b96 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -867,8 +867,6 @@ static int parse_descfile(const char *descfile, pmpkg_t *info) info->licenses = alpm_list_add(info->licenses, strdup(ptr)); } else if(!strcmp(key, "builddate")) { strncpy(info->builddate, ptr, sizeof(info->builddate)); - } else if(!strcmp(key, "installdate")) { - strncpy(info->installdate, ptr, sizeof(info->installdate)); } else if(!strcmp(key, "packager")) { strncpy(info->packager, ptr, sizeof(info->packager)); } else if(!strcmp(key, "arch")) { |