[llvm-commits] CVS: llvm/tools/llvm-ld/llvm-ld.cpp
Reid Spencer
reid at x10sys.com
Mon Dec 13 12:03:13 PST 2004
Changes in directory llvm/tools/llvm-ld:
llvm-ld.cpp updated: 1.9 -> 1.10
---
Log message:
For PR351: http://llvm.cs.uiuc.edu/PR351 :
Replace MakeFileReadable and MakeFileExecutable (from FileUtilities) with
sys::Path::makeReadable and sys::Path:makeExecutable, respectively.
---
Diffs of the changes: (+3 -3)
Index: llvm/tools/llvm-ld/llvm-ld.cpp
diff -u llvm/tools/llvm-ld/llvm-ld.cpp:1.9 llvm/tools/llvm-ld/llvm-ld.cpp:1.10
--- llvm/tools/llvm-ld/llvm-ld.cpp:1.9 Mon Dec 13 11:18:19 2004
+++ llvm/tools/llvm-ld/llvm-ld.cpp Mon Dec 13 14:03:02 2004
@@ -527,11 +527,11 @@
}
// Make the script executable...
- MakeFileExecutable(OutputFilename);
+ sys::Path(OutputFilename).makeExecutable();
// Make the bytecode file readable and directly executable in LLEE as well
- MakeFileExecutable(RealBytecodeOutput);
- MakeFileReadable(RealBytecodeOutput);
+ sys::Path(RealBytecodeOutput).makeExecutable();
+ sys::Path(RealBytecodeOutput).makeReadable();
}
return 0;
More information about the llvm-commits
mailing list