[llvm-commits] CVS: llvm/tools/llvm-nm/llvm-nm.cpp
Reid Spencer
reid at x10sys.com
Thu Jul 7 11:21:56 PDT 2005
Changes in directory llvm/tools/llvm-nm:
llvm-nm.cpp updated: 1.24 -> 1.25
---
Log message:
For PR495: http://llvm.cs.uiuc.edu/PR495 :
Change interface to Path class:
readable -> canRead
writable -> canWrite
executable -> canExecute
More (incremental) changes coming to close 495.
---
Diffs of the changes: (+1 -1)
llvm-nm.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/tools/llvm-nm/llvm-nm.cpp
diff -u llvm/tools/llvm-nm/llvm-nm.cpp:1.24 llvm/tools/llvm-nm/llvm-nm.cpp:1.25
--- llvm/tools/llvm-nm/llvm-nm.cpp:1.24 Thu Apr 21 18:59:41 2005
+++ llvm/tools/llvm-nm/llvm-nm.cpp Thu Jul 7 13:21:42 2005
@@ -119,7 +119,7 @@
void DumpSymbolNamesFromFile (std::string &Filename) {
std::string ErrorMessage;
sys::Path aPath(Filename);
- if (Filename != "-" && !aPath.readable()) {
+ if (Filename != "-" && !aPath.canRead()) {
std::cerr << ToolName << ": " << Filename << ": " << strerror (errno)
<< "\n";
return;
More information about the llvm-commits
mailing list