aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2004-12-19 00:42:22 +0000
committerJason Woodward2004-12-19 00:42:22 +0000
commite4e2e38afddaf900c9ae83446b4ea65b1b8a54ac (patch)
treec2835d767d0a0da4d5ab5e0137b77dca0034aaae
parent72983c12852470cd2f7f6ad96961876de0896781 (diff)
downloadslapt-get-e4e2e38afddaf900c9ae83446b4ea65b1b8a54ac.tar.gz
fixed sv.po and removed duplicate initialization of pkgs->pkgs
-rw-r--r--ChangeLog2
-rw-r--r--po/sv.po2
-rw-r--r--src/package.c6
3 files changed, 2 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ef5ba4..9dcb07a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,5 @@
-0.9.9f Dec 17, 2004
+0.9.9f Dec 18, 2004
* produce warning is slack-require information is too long
* updated setlocale() call to set category to LC_ALL, thanks Piotr Simon
* updated documentation
diff --git a/po/sv.po b/po/sv.po
index 8fbef8f..f1dfb10 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -485,6 +485,6 @@ msgid "only purge cache of older, unreacheable pkgs"
msgstr ""
#, c-format
-msgid "conflict too long [%s:%d]\n"
+msgid "required too long [%s:%d]\n"
msgstr ""
diff --git a/src/package.c b/src/package.c
index c34a352..1e2a037 100644
--- a/src/package.c
+++ b/src/package.c
@@ -461,12 +461,6 @@ struct pkg_list *get_installed_pkgs(void){
return list;
}
- list->pkgs = malloc( sizeof *list->pkgs );
- if( list->pkgs == NULL ){
- fprintf(stderr,_("Failed to malloc %s\n"),"pkgs");
- exit(1);
- }
-
while( (file = readdir(pkg_log_dir)) != NULL ){
pkg_info_t *tmp_pkg;
FILE *pkg_f;