[llvm-commits] CVS: llvm/lib/System/Unix/Path.inc

Reid Spencer reid at x10sys.com
Tue Mar 1 21:46:07 PST 2005



Changes in directory llvm/lib/System/Unix:

Path.inc updated: 1.29 -> 1.30
---
Log message:

Be slightly more accurate in an error message.


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

 Path.inc |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/System/Unix/Path.inc
diff -u llvm/lib/System/Unix/Path.inc:1.29 llvm/lib/System/Unix/Path.inc:1.30
--- llvm/lib/System/Unix/Path.inc:1.29	Mon Dec 27 00:17:15 2004
+++ llvm/lib/System/Unix/Path.inc	Tue Mar  1 23:45:56 2005
@@ -340,7 +340,7 @@
 Path::getStatusInfo(StatusInfo& info) const {
   struct stat buf;
   if (0 != stat(path.c_str(), &buf)) {
-    ThrowErrno(std::string("Can't get status: ")+path);
+    ThrowErrno(std::string("Can't get status for path: ")+path);
   }
   info.fileSize = buf.st_size;
   info.modTime.fromEpochTime(buf.st_mtime);






More information about the llvm-commits mailing list