[105627] trunk/base/src/darwintracelib1.0/darwintrace.c

cal at macports.org cal at macports.org
Sun Apr 28 04:31:34 PDT 2013


Revision: 105627
          https://trac.macports.org/changeset/105627
Author:   cal at macports.org
Date:     2013-04-28 04:31:34 -0700 (Sun, 28 Apr 2013)
Log Message:
-----------
darwintrace: align & re-word comments

Modified Paths:
--------------
    trunk/base/src/darwintracelib1.0/darwintrace.c

Modified: trunk/base/src/darwintracelib1.0/darwintrace.c
===================================================================
--- trunk/base/src/darwintracelib1.0/darwintrace.c	2013-04-28 09:14:29 UTC (rev 105626)
+++ trunk/base/src/darwintracelib1.0/darwintrace.c	2013-04-28 11:31:34 UTC (rev 105627)
@@ -1089,20 +1089,20 @@
 
 #pragma pack(4)
 struct dirent32 {
-	ino_t d_ino;			/* file number of entry */
-	__uint16_t d_reclen;		/* length of this record */
-	__uint8_t  d_type; 		/* file type, see below */
-	__uint8_t  d_namlen;		/* length of string in d_name */
-	char d_name[__DARWIN_MAXNAMLEN + 1];	/* name must be no longer than this */
+	ino_t d_ino;            /* file number of entry */
+	__uint16_t d_reclen;    /* length of this record */
+	__uint8_t  d_type;      /* file type */
+	__uint8_t  d_namlen;    /* length of string in d_name */
+	char d_name[__DARWIN_MAXNAMLEN + 1]; /* name must be no longer than this */
 };
 #pragma pack()
 
 struct dirent64  {
 	__uint64_t  d_ino;      /* file number of entry */
-	__uint64_t  d_seekoff;  /* seek offset (optional, used by servers) */
+	__uint64_t  d_seekoff;  /* seek offset */
 	__uint16_t  d_reclen;   /* length of this record */
 	__uint16_t  d_namlen;   /* length of string in d_name */
-	__uint8_t   d_type;     /* file type, see below */
+	__uint8_t   d_type;     /* file type */
 	char      d_name[__DARWIN_MAXPATHLEN]; /* entry name (up to MAXPATHLEN bytes) */
 };
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130428/6a3fda48/attachment.html>


More information about the macports-changes mailing list