[llvm] r184316 - Attempt at fixing some bots.

Rafael Espindola rafael.espindola at gmail.com
Wed Jun 19 08:56:53 PDT 2013


Author: rafael
Date: Wed Jun 19 10:56:53 2013
New Revision: 184316

URL: http://llvm.org/viewvc/llvm-project?rev=184316&view=rev
Log:
Attempt at fixing some bots.

Modified:
    llvm/trunk/tools/llvm-ar/llvm-ar.cpp

Modified: llvm/trunk/tools/llvm-ar/llvm-ar.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ar/llvm-ar.cpp?rev=184316&r1=184315&r2=184316&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-ar/llvm-ar.cpp (original)
+++ llvm/trunk/tools/llvm-ar/llvm-ar.cpp Wed Jun 19 10:56:53 2013
@@ -430,7 +430,7 @@ doExtract(std::string* ErrMsg) {
       // Open up a file stream for writing
       std::ios::openmode io_mode = std::ios::out | std::ios::trunc |
                                    std::ios::binary;
-      std::ofstream file(I->getPath(), io_mode);
+      std::ofstream file(I->getPath().str(), io_mode);
 
       // Get the data and its length
       const char* data = reinterpret_cast<const char*>(I->getData());





More information about the llvm-commits mailing list