[llvm-commits] CVS: llvm/tools/llvm-ld/llvm-ld.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Fri Dec 17 16:23:18 PST 2004
On Friday 17 December 2004 18:19, Reid Spencer wrote:
> Changes in directory llvm/tools/llvm-ld:
>
> llvm-ld.cpp updated: 1.13 -> 1.14
> ---
> Log message:
>
> The CopyFile function got moved into the sys namespace.
>
>
> ---
> Diffs of the changes: (+1 -1)
>
> Index: llvm/tools/llvm-ld/llvm-ld.cpp
> diff -u llvm/tools/llvm-ld/llvm-ld.cpp:1.13
> llvm/tools/llvm-ld/llvm-ld.cpp:1.14 ---
> llvm/tools/llvm-ld/llvm-ld.cpp:1.13 Thu Dec 16 17:04:20 2004
> +++ llvm/tools/llvm-ld/llvm-ld.cpp Fri Dec 17 18:19:32 2004
> @@ -313,7 +313,7 @@
> std::cerr << "Could not find llvm-stub.exe executable!\n";
> exit(1);
> }
> - if (CopyFile(OutputFilename, llvmstub)) {
> + if (sys::CopyFile(OutputFilename, llvmstub)) {
> std::cerr << "Could not copy the llvm-stub.exe executable!\n";
> exit(1);
> }
Is this going to work? sys::CopyFile returns void...
BTW, do you have a windows machine handy to test this on?
--
Alkis
More information about the llvm-commits
mailing list