|
From: <sv...@va...> - 2009-05-20 02:10:46
|
Author: njn
Date: 2009-05-20 02:52:09 +0100 (Wed, 20 May 2009)
New Revision: 9993
Log:
Add a comment.
Modified:
branches/DARWIN/include/pub_tool_libcfile.h
Modified: branches/DARWIN/include/pub_tool_libcfile.h
===================================================================
--- branches/DARWIN/include/pub_tool_libcfile.h 2009-05-20 01:42:49 UTC (rev 9992)
+++ branches/DARWIN/include/pub_tool_libcfile.h 2009-05-20 01:52:09 UTC (rev 9993)
@@ -43,7 +43,12 @@
specific vki_stat{,64} kernel structure will work and is
consistently available on different architectures on Linux, so we
have to use this 'struct vg_stat' impedance-matching type
- instead. */
+ instead.
+
+ Also note that the fieldnames aren't prefixed with "st_". This is because
+ st_atime et al are macros in sys/stat.h on DARWIN, and using those names
+ screws things up.
+*/
struct vg_stat {
ULong dev;
ULong ino;
|