projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Micro-optimization: Avoid byte register writes on x86-64 in LOAD-TYPE.
[sbcl.git]
/
tools-for-build
/
canonicalize-whitespace
diff --git
a/tools-for-build/canonicalize-whitespace
b/tools-for-build/canonicalize-whitespace
index
5c64e69
..
0d39131
100755
(executable)
--- a/
tools-for-build/canonicalize-whitespace
+++ b/
tools-for-build/canonicalize-whitespace
@@
-5,5
+5,13
@@
# Convert tabs to spaces and delete trailing whitespace in files
# which we can safely assume to be source files in appropriate languages.
# Convert tabs to spaces and delete trailing whitespace in files
# which we can safely assume to be source files in appropriate languages.
+if ! expand -t 8 < $DEVNULL
+then
+ # If we're building with MSYS on Windows GNU expand is not available,
+ # and what we get is Microsoft Expand, which is something quite different,
+ # so bail out.
+ exit
+fi
+
tools-for-build/whitespacely-canonical-filenames \
| xargs tools-for-build/canonicalize-whitespace-1
tools-for-build/whitespacely-canonical-filenames \
| xargs tools-for-build/canonicalize-whitespace-1