[cfe-commits] r134875 - /cfe/trunk/lib/ARCMigrate/FileRemapper.cpp
Argyrios Kyrtzidis
akyrtzi at gmail.com
Sun Jul 10 11:57:15 PDT 2011
Author: akirtzidis
Date: Sun Jul 10 13:57:15 2011
New Revision: 134875
URL: http://llvm.org/viewvc/llvm-project?rev=134875&view=rev
Log:
[arcmt] Try fixing test/ARCMT/migrate.m for windows hosts.
Modified:
cfe/trunk/lib/ARCMigrate/FileRemapper.cpp
Modified: cfe/trunk/lib/ARCMigrate/FileRemapper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/ARCMigrate/FileRemapper.cpp?rev=134875&r1=134874&r2=134875&view=diff
==============================================================================
--- cfe/trunk/lib/ARCMigrate/FileRemapper.cpp (original)
+++ cfe/trunk/lib/ARCMigrate/FileRemapper.cpp Sun Jul 10 13:57:15 2011
@@ -112,7 +112,8 @@
std::string errMsg;
std::string infoFile = getRemapInfoFile(outputDir);
- llvm::raw_fd_ostream infoOut(infoFile.c_str(), errMsg);
+ llvm::raw_fd_ostream infoOut(infoFile.c_str(), errMsg,
+ llvm::raw_fd_ostream::F_Binary);
if (!errMsg.empty() || infoOut.has_error())
return report(errMsg, Diag);
More information about the cfe-commits
mailing list