[llvm-commits] [llvm] r115908 - /llvm/trunk/test/Scripts/coff-dump.py.bat
Michael J. Spencer
bigcheesegs at gmail.com
Wed Oct 6 23:29:22 PDT 2010
Author: mspencer
Date: Thu Oct 7 01:29:21 2010
New Revision: 115908
URL: http://llvm.org/viewvc/llvm-project?rev=115908&view=rev
Log:
test: Fix binary stdin issues with coff-dump on Windows.
Modified:
llvm/trunk/test/Scripts/coff-dump.py.bat
Modified: llvm/trunk/test/Scripts/coff-dump.py.bat
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Scripts/coff-dump.py.bat?rev=115908&r1=115907&r2=115908&view=diff
==============================================================================
--- llvm/trunk/test/Scripts/coff-dump.py.bat (original)
+++ llvm/trunk/test/Scripts/coff-dump.py.bat Thu Oct 7 01:29:21 2010
@@ -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
+ at rem We need to set -u to treat stdin as binary. Python 3 has support for doing
+ at 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
More information about the llvm-commits
mailing list