projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x11: Call XInitThreads()
[platform/upstream/VK-GL-CTS.git]
/
scripts
/
src_util
/
check_whitespace.py
diff --git
a/scripts/src_util/check_whitespace.py
b/scripts/src_util/check_whitespace.py
index
7d079bf
..
876e57e
100644
(file)
--- a/
scripts/src_util/check_whitespace.py
+++ b/
scripts/src_util/check_whitespace.py
@@
-34,6
+34,9
@@
def checkFileWhitespace (file):
if " \t" in line:
error = True
print "%s:%i merged <space><tab>" % (file, lineNum+1)
+ if line.endswith("\r") or line.endswith("\r\n"):
+ error = True
+ print "%s:%i incorrect line ending" % (file, lineNum+1)
f.close()
return not error