diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | URPM.pm | 4 | ||||
-rw-r--r-- | URPM.xs | 10 | ||||
-rw-r--r-- | t/resolve.t | 4 | ||||
-rw-r--r-- | t/rpmdb.t | 1 |
5 files changed, 2 insertions, 20 deletions
@@ -1,5 +1,6 @@ -Version 4.18 - 2011, by Per Øyvind Karlsen +Version 4.18 - 31 March 2011, by Per Øyvind Karlsen +- drop URPM::DB::close() and teardown properly by calling rpmcliFini() at exit - fix odd i586 specific bug triggering segfault with -fstack-protector (#61690) Version 4.17 - 30 March 2011, by Per Øyvind Karlsen @@ -439,10 +439,6 @@ any. (See the B<--root> option to rpm(1)). $write_perm is a boolean that defaults to false, and that indicates whether the RPM DB should be open in read/write mode. -=item close($db) - -Closes the C<URPM::DB> object pointing to a local RPM database. - =item info($prefix) Return berkeley db type and byte ordering of it in an array (@(type, ordering)). @@ -3217,14 +3217,6 @@ Db_open(prefix=NULL, write_perm=0, log_auto_remove=1) OUTPUT: RETVAL -int -Db_close(db) - URPM::DB db - CODE: - RETVAL = rpmdbClose(rpmtsGetRdb(db->ts)) == 0; - OUTPUT: - RETVAL - void Db_info(prefix=NULL) char *prefix @@ -3868,9 +3860,7 @@ MODULE = URPM PACKAGE = URPM PREFIX = Urpm_ BOOT: (void) read_config_files(0); -/* FIXME: Perl_call_atexit(PERL_GET_CONTEXT, (void*)urpm_perl_atexit,0); -*/ void Urpm_bind_rpm_textdomain_codeset() diff --git a/t/resolve.t b/t/resolve.t index f1823a6..a738bd4 100644 --- a/t/resolve.t +++ b/t/resolve.t @@ -11,10 +11,6 @@ my $urpm; my $db; END { - if($db) { - URPM::DB::close($db); - } - system("rm -rf tmp"); } @@ -11,7 +11,6 @@ use URPM; my $db; END { - URPM::DB::close($db); remove_tree("tmp"); } |