summaryrefslogtreecommitdiff
path: root/mkdep.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-19 14:42:29 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-19 14:42:29 -0700
commit7065309739ef398af07e470469f1ae6f0580200c (patch)
treea8d6e0e99b14899193014a87e80f013606a0d504 /mkdep.pl
parent31420e76d1e333825df39964888089181ccf8129 (diff)
downloadnasm-7065309739ef398af07e470469f1ae6f0580200c.tar.gz
nasm-7065309739ef398af07e470469f1ae6f0580200c.tar.bz2
nasm-7065309739ef398af07e470469f1ae6f0580200c.zip
Formatting: kill off "stealth whitespace"
"Stealth whitespace" makes it harder to read diffs, and just generally cause unwanted weirdness. Do a source-wide pass to get rid of it.
Diffstat (limited to 'mkdep.pl')
-rwxr-xr-xmkdep.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/mkdep.pl b/mkdep.pl
index d376287..4195bc2 100755
--- a/mkdep.pl
+++ b/mkdep.pl
@@ -84,7 +84,7 @@ sub insert_deps($) {
my($file) = @_;
$nexttemp++; # Unique serial number for each temp file
my($tmp) = File::Spec->catfile(dirname($file), 'tmp.'.$nexttemp);
-
+
sysopen(IN, $file, O_RDONLY)
or die "$0: Cannot open input: $file\n";
sysopen(OUT, $tmp, O_WRONLY|O_CREAT|O_TRUNC, 0666)
@@ -151,15 +151,15 @@ sub insert_deps($) {
}
}
close(OUT);
-
- (unlink($file) && rename($tmp, $file))
+
+ (unlink($file) && rename($tmp, $file))
or die "$0: Failed to change $tmp -> $file\n";
}
#
# Main program
#
-
+
%deps = ();
@files = ();
@mkfiles = ();