[llvm-commits] CVS: llvm/lib/System/Win32/Path.cpp

Reid Spencer reid at x10sys.com
Thu Dec 23 14:14:43 PST 2004



Changes in directory llvm/lib/System/Win32:

Path.cpp updated: 1.21 -> 1.22
---
Log message:

Put CopyFile in the sys namespace.


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

Index: llvm/lib/System/Win32/Path.cpp
diff -u llvm/lib/System/Win32/Path.cpp:1.21 llvm/lib/System/Win32/Path.cpp:1.22
--- llvm/lib/System/Win32/Path.cpp:1.21	Sat Dec 18 00:42:15 2004
+++ llvm/lib/System/Win32/Path.cpp	Thu Dec 23 16:14:32 2004
@@ -573,7 +573,7 @@
 }
 
 void 
-CopyFile(const sys::Path &Dest, const sys::Path &Src) {
+sys::CopyFile(const sys::Path &Dest, const sys::Path &Src) {
   if (!::CopyFile(Src.c_str(), Dest.c_str(), false))
     ThrowError("Can't copy '" + Src.toString() + 
                "' to '" + Dest.toString() + "'");






More information about the llvm-commits mailing list