[Pkg-asv-commits] r32 - in trunk: . debian

chrism at alioth.debian.org chrism at alioth.debian.org
Mon May 5 11:02:55 UTC 2008


Author: chrism
Date: 2008-05-05 11:02:54 +0000 (Mon, 05 May 2008)
New Revision: 32

Modified:
   trunk/apt-show-versions
   trunk/debian/changelog
Log:
* call closedir from correct position (closes: #479255)

Modified: trunk/apt-show-versions
===================================================================
--- trunk/apt-show-versions	2008-04-15 20:13:28 UTC (rev 31)
+++ trunk/apt-show-versions	2008-05-05 11:02:54 UTC (rev 32)
@@ -189,11 +189,12 @@
     @files = map { $list_dir . $_} grep /Packages$/, readdir(DIR);
     ($< == 0) and (store(\@files, $filescachefile) or
         warn "Can't write $filescachefile\n");
+    
+    closedir DIR ;
 }
 unless (@files > 0) {
     &die("Error: No information about packages! (Maybe no deb entries?)\n");
 }
-closedir DIR ;
 
 # Get hash with all installed packages from cache or create new hash
 # and write cache if root

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-04-15 20:13:28 UTC (rev 31)
+++ trunk/debian/changelog	2008-05-05 11:02:54 UTC (rev 32)
@@ -30,8 +30,11 @@
   * Actualize FSF address in a-s-v script.
   * Actualize my mail address in debian/control.
 
- -- Andreas Hoenen <andreas at hoenen-terstappen.de>  Tue, 15 Apr 2008 22:12:25 +0200
+  [ Christoph Martin ]
+  * call closedir from correct position (closes: #479255)
 
+ -- Christoph Martin <christoph.martin at uni-mainz.de>  Mon,  5 May 2008 13:02:45 +0200
+
 apt-show-versions (0.12) unstable; urgency=low
 
   [ Andreas Hoenen ]




More information about the Pkg-asv-commits mailing list