Changes in directory llvm/lib/System/Unix:

Path.inc updated: 1.59 -> 1.60
---
Log message:

Add a uniqueID field to the FileStatus structure for Paths. This will map
to the inode number on Unix and something far less unique on Windows. The
windows case needs to be improved.


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

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


Index: llvm/lib/System/Unix/Path.inc
diff -u llvm/lib/System/Unix/Path.inc:1.59 llvm/lib/System/Unix/Path.inc:1.60
--- llvm/lib/System/Unix/Path.inc:1.59  Thu Mar 29 11:43:20 2007
+++ llvm/lib/System/Unix/Path.inc       Thu Mar 29 12:00:31 2007
@@ -375,6 +375,7 @@
     status->mode = buf.st_mode;
     status->user = buf.st_uid;
     status->group = buf.st_gid;
+    status->uniqueID = uint64_t(buf.st_ino);
     status->isDir  = S_ISDIR(buf.st_mode);
     status->isFile = S_ISREG(buf.st_mode);
   }



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to