[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. 0.0.96-29-ge512f97

Ryan Niebur ryanryan52 at gmail.com
Mon Jun 22 21:51:12 UTC 2009


The following commit has been merged in the master branch:
commit e512f976f354671bd817b3957fdec452d80f6032
Author: Francesco Poli (t1000) <frx at firenze.linux.it>
Date:   Mon Jun 22 23:46:45 2009 +0200

    explicitly get rid of the tempfile in aptcleanup
    
    add an explicit instruction to remove the temporary file created by
    aptcleanup (libruby1.8 used to do that automatically, but now it seems
    to no longer work that way: see bug #534241).

diff --git a/aptcleanup b/aptcleanup
index f25e899..45e29ae 100755
--- a/aptcleanup
+++ b/aptcleanup
@@ -78,6 +78,9 @@ p.pins.each do |pin|
   end
 end
 
+# get rid of the temporary file
+unpinned_pref_file.close!
+
 $stderr.puts "Pinned packages: #{pinnedpkgs.sort.join(' ')}" if $DEBUG
 $stderr.puts "Buggy packages : #{bugpkgs.sort.join(' ')}" if $DEBUG
 
diff --git a/debian/changelog b/debian/changelog
index 1b4aa53..edb0ba8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,8 +13,9 @@ apt-listbugs (0.1.0) UNRELEASED; urgency=low
   [ Francesco Poli (t1000) ]
   * improve logic: apt-listbugs may now pin uninstalled packages too
   * simplify code and add some robustness checks in aptcleanup
+  * add an explicit call to remove the temporary file in aptcleanup
 
- -- Ryan Niebur <ryanryan52 at gmail.com>  Tue, 16 Jun 2009 23:52:06 -0700
+ -- Francesco Poli (t1000) <frx at firenze.linux.it>  Mon, 22 Jun 2009 22:49:55 +0200
 
 apt-listbugs (0.0.96) unstable; urgency=low
 

-- 
apt-listbugs development tree



More information about the Apt-listbugs-commits mailing list