[llvm-commits] CVS: llvm/tools/gccld/gccld.cpp

Reid Spencer reid at x10sys.com
Mon Dec 20 19:24:13 PST 2004



Changes in directory llvm/tools/gccld:

gccld.cpp updated: 1.93 -> 1.94
---
Log message:

Use explicit construction of sys::Path from std::string because the 
constructor is "explicit".


---
Diffs of the changes:  (+1 -1)

Index: llvm/tools/gccld/gccld.cpp
diff -u llvm/tools/gccld/gccld.cpp:1.93 llvm/tools/gccld/gccld.cpp:1.94
--- llvm/tools/gccld/gccld.cpp:1.93	Sat Dec 18 00:53:10 2004
+++ llvm/tools/gccld/gccld.cpp	Mon Dec 20 21:24:02 2004
@@ -124,7 +124,7 @@
     std::cerr << "Could not find llvm-stub.exe executable!\n";
     exit(1);
   }
-  sys::CopyFile(OutputFilename, llvmstub);
+  sys::CopyFile(sys::Path(OutputFilename), sys::Path(llvmstub));
   return;
 #endif
 






More information about the llvm-commits mailing list