projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee56ea6
)
test: Fix binary stdin issues with coff-dump on Windows.
author
Michael J. Spencer
<bigcheesegs@gmail.com>
Thu, 7 Oct 2010 06:29:21 +0000
(06:29 +0000)
committer
Michael J. Spencer
<bigcheesegs@gmail.com>
Thu, 7 Oct 2010 06:29:21 +0000
(06:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115908
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Scripts/coff-dump.py.bat
patch
|
blob
|
history
diff --git
a/test/Scripts/coff-dump.py.bat
b/test/Scripts/coff-dump.py.bat
index cc83eba1c4468050b5881537f7299df57a343dfc..56428e1a605cf4d8979fd160cec013a5000b26d8 100644
(file)
--- a/
test/Scripts/coff-dump.py.bat
+++ b/
test/Scripts/coff-dump.py.bat
@@
-1,4
+1,7
@@
@echo off
-%PYTHON_EXECUTABLE% %LLVM_SRC_ROOT%\test\Scripts\coff-dump.py %1 %2 %3 %4 %5 %6 %7 %8 %9
+@rem We need to set -u to treat stdin as binary. Python 3 has support for doing
+@rem this in code, but I haven't found a way to do this in 2.6 yet.
+
+%PYTHON_EXECUTABLE% -u %LLVM_SRC_ROOT%\test\Scripts\coff-dump.py %1 %2 %3 %4 %5 %6 %7 %8 %9