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

Reid Spencer reid at x10sys.com
Fri Dec 17 22:53:21 PST 2004



Changes in directory llvm/tools/gccld:

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

sys::CopyString throws an exception on error which will be caught by gccld
main function.


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

Index: llvm/tools/gccld/gccld.cpp
diff -u llvm/tools/gccld/gccld.cpp:1.92 llvm/tools/gccld/gccld.cpp:1.93
--- llvm/tools/gccld/gccld.cpp:1.92	Fri Dec 17 18:19:32 2004
+++ llvm/tools/gccld/gccld.cpp	Sat Dec 18 00:53:10 2004
@@ -124,10 +124,7 @@
     std::cerr << "Could not find llvm-stub.exe executable!\n";
     exit(1);
   }
-  if (sys::CopyFile(OutputFilename, llvmstub)) {
-    std::cerr << "Could not copy the llvm-stub.exe executable!\n";
-    exit(1);
-  }
+  sys::CopyFile(OutputFilename, llvmstub);
   return;
 #endif
 






More information about the llvm-commits mailing list