From: H. Peter Anvin Date: Wed, 6 Feb 2008 05:27:43 +0000 (-0800) Subject: Fix "carryover" of exclude information from one file to another. X-Git-Tag: nasm-2.11.05~1672 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=877ca3bc8080cb36b51e1288a8d5dedae733cadd;p=platform%2Fupstream%2Fnasm.git Fix "carryover" of exclude information from one file to another. my %foo; doesn't mean %foo is initialized to empty, need my %foo = (); or my %foo = undef; or similar for that. --- diff --git a/mkdep.pl b/mkdep.pl index 4195bc2..9245b18 100755 --- a/mkdep.pl +++ b/mkdep.pl @@ -118,7 +118,8 @@ sub insert_deps($) { } close(IN); - my $e, %do_exclude; + my $e; + my %do_exclude = (); foreach $e (@exclude) { $do_exclude{$e} = 1; }