summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-07-03 10:12:19 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-07-03 10:12:19 (GMT)
commitcec5714641a4a94590010e3b659f993d294268f5 (patch)
tree020b1e912a5e90a102ea5f6aac6b933c6027d5ab
parentab7a6af8cae45f25825b7c3ac24edc9af86c9233 (diff)
parent728a7cde00d367beb2873570be4a12baae753fbf (diff)
downloadtcl-cec5714641a4a94590010e3b659f993d294268f5.zip
tcl-cec5714641a4a94590010e3b659f993d294268f5.tar.gz
tcl-cec5714641a4a94590010e3b659f993d294268f5.tar.bz2
Corrected statements about ctime field of 'struct stat'; that was always the
time of the last metadata change, not the time of creation.
-rw-r--r--ChangeLog6
-rw-r--r--doc/FileSystem.314
2 files changed, 14 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index f12e4ac..89766bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-03 Donal K. Fellows <dkf@users.sf.net>
+
+ * doc/FileSystem.3: Corrected statements about ctime field of 'struct
+ stat'; that was always the time of the last metadata change, not the
+ time of creation.
+
2011-07-02 Kevin B. Kenny <kennykb@acm.org>
* generic/tclStrToD.c:
diff --git a/doc/FileSystem.3 b/doc/FileSystem.3
index bad3751..7816099 100644
--- a/doc/FileSystem.3
+++ b/doc/FileSystem.3
@@ -500,8 +500,9 @@ directories named in the path leading to the file. The \fITcl_StatBuf\fR
structure includes info regarding device, inode (always 0 on Windows),
privilege mode, nlink (always 1 on Windows), user id (always 0 on
Windows), group id (always 0 on Windows), rdev (same as device on
-Windows), size, last access time, last modification time, and creation
-time. See \fBPORTABLE STAT RESULT API\fR for a description of how to write
+Windows), size, last access time, last modification time, and
+last metadata change time.
+See \fBPORTABLE STAT RESULT API\fR for a description of how to write
portable code to allocate and access the \fITcl_StatBuf\fR structure.
.PP
If \fIpath\fR exists, \fBTcl_FSLstat\fR returns 0 and the stat structure
@@ -559,8 +560,9 @@ directories named in the path leading to the file. The \fITcl_StatBuf\fR
structure includes info regarding device, inode (always 0 on Windows),
privilege mode, nlink (always 1 on Windows), user id (always 0 on
Windows), group id (always 0 on Windows), rdev (same as device on
-Windows), size, last access time, last modification time, and creation
-time. See \fBPORTABLE STAT RESULT API\fR for a description of how to write
+Windows), size, last access time, last modification time, and
+last metadata change time.
+See \fBPORTABLE STAT RESULT API\fR for a description of how to write
portable code to allocate and access the \fITcl_StatBuf\fR structure.
.PP
If \fIpath\fR exists, \fBTcl_FSStat\fR returns 0 and the stat structure
@@ -1162,8 +1164,8 @@ to all directories named in the path leading to the file. The stat
structure includes info regarding device, inode (always 0 on Windows),
privilege mode, nlink (always 1 on Windows), user id (always 0 on
Windows), group id (always 0 on Windows), rdev (same as device on
-Windows), size, last access time, last modification time, and creation
-time.
+Windows), size, last access time, last modification time, and
+last metadata change time.
.PP
If the file represented by \fIpathPtr\fR exists, the
\fBTcl_FSStatProc\fR returns 0 and the stat structure is filled with