projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d31af2a
)
Make an error message a little more intelligible.
author
Reid Spencer
<rspencer@reidspencer.com>
Tue, 22 Aug 2006 05:28:38 +0000
(
05:28
+0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Tue, 22 Aug 2006 05:28:38 +0000
(
05:28
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29808
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Unix/Path.inc
patch
|
blob
|
history
diff --git
a/lib/System/Unix/Path.inc
b/lib/System/Unix/Path.inc
index f79b2b2064a6285e510d2d9c4e42ebb3755247dc..bd29d8da8d103871faa9ea0ad8b77aa218bdb19b 100644
(file)
--- a/
lib/System/Unix/Path.inc
+++ b/
lib/System/Unix/Path.inc
@@
-352,7
+352,7
@@
bool
Path::getFileStatus(FileStatus &info, std::string *ErrStr) const {
struct stat buf;
if (0 != stat(path.c_str(), &buf))
- return GetErrno(path + ": can't
determine type of path object:
", ErrStr);
+ return GetErrno(path + ": can't
get status of file '" + path + "'
", ErrStr);
info.fileSize = buf.st_size;
info.modTime.fromEpochTime(buf.st_mtime);
info.mode = buf.st_mode;