]> git.donarmstrong.com Git - debhelper.git/commitdiff
Close COMPAT_IN filehandle. Closes: #527464
authorJoey Hess <joey@gnu.kitenet.net>
Thu, 7 May 2009 20:33:46 +0000 (16:33 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 7 May 2009 20:33:46 +0000 (16:33 -0400)
Debian/Debhelper/Dh_Lib.pm
debian/changelog

index b57c4d97d15c66faf1fb166ed82ca0c1480c7010..829eabfc38f70864d4babd63246e16f933f59f29 100644 (file)
@@ -300,6 +300,7 @@ sub dirname {
                                # Try the file..
                                open (COMPAT_IN, "debian/compat") || error "debian/compat: $!";
                                my $l=<COMPAT_IN>;
+                               close COMPAT_IN;
                                if (! defined $l || ! length $l) {
                                        warning("debian/compat is empty, assuming level $c");
                                }
index 0b204eb8612a2cae7dac2c9e72b4b36c83c47521..3b9e42ae3239a9dc3e493b6b5f3e12e460898dcd 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (7.2.10) UNRELEASED; urgency=low
+
+  * Close COMPAT_IN filehandle. Closes: #527464
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 07 May 2009 16:33:25 -0400
+
 debhelper (7.2.9) unstable; urgency=low
 
   * dh_fixperms: Ensure lintian overrides are mode 644.