diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-02-05 21:27:43 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-02-05 21:28:44 -0800 |
commit | 877ca3bc8080cb36b51e1288a8d5dedae733cadd (patch) | |
tree | a08d3b13e3c89b7c4837c2187e86be0ca5e80e96 /mkdep.pl | |
parent | bb2fa762b4a42f752a0b6d88ef553ec9357ea9b1 (diff) | |
download | nasm-877ca3bc8080cb36b51e1288a8d5dedae733cadd.tar.gz nasm-877ca3bc8080cb36b51e1288a8d5dedae733cadd.tar.bz2 nasm-877ca3bc8080cb36b51e1288a8d5dedae733cadd.zip |
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.
Diffstat (limited to 'mkdep.pl')
-rwxr-xr-x | mkdep.pl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |