From 94f05f40141f7005a711850eee8f5f7566c3a647 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 7 May 2009 16:33:46 -0400 Subject: Close COMPAT_IN filehandle. Closes: #527464 --- Debian/Debhelper/Dh_Lib.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Debian/Debhelper/Dh_Lib.pm') diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index b57c4d97..829eabfc 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -300,6 +300,7 @@ sub dirname { # Try the file.. open (COMPAT_IN, "debian/compat") || error "debian/compat: $!"; my $l=; + close COMPAT_IN; if (! defined $l || ! length $l) { warning("debian/compat is empty, assuming level $c"); } -- cgit v1.2.3