summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-07-03 10:05:07 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-07-03 10:05:07 (GMT)
commitc1a48e4df9bd8dcf675799dc7e9fbf4881f236a0 (patch)
tree72fd6dbfe03585cbefbed6f5db9dfaeb1399c70d
parent83da5e73e763a2bf93d98676168b3e5a7a02d014 (diff)
downloadtcl-c1a48e4df9bd8dcf675799dc7e9fbf4881f236a0.zip
tcl-c1a48e4df9bd8dcf675799dc7e9fbf4881f236a0.tar.gz
tcl-c1a48e4df9bd8dcf675799dc7e9fbf4881f236a0.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.312
2 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index b12db49..2865933 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-06-22 Andreas Kupries <andreask@activestate.com>
* library/platform/pkgIndex.tcl: Updated to platform 1.0.10. Added
diff --git a/doc/FileSystem.3 b/doc/FileSystem.3
index 82c3ca7..7475989 100644
--- a/doc/FileSystem.3
+++ b/doc/FileSystem.3
@@ -374,8 +374,8 @@ 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 \fIpath\fR exists, \fBTcl_FSLstat\fR returns 0 and the stat structure
is filled with data. Otherwise, -1 is returned, and no stat info is
@@ -426,8 +426,8 @@ 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 \fIpath\fR exists, \fBTcl_FSStat\fR returns 0 and the stat structure
is filled with data. Otherwise, -1 is returned, and no stat info is
@@ -936,8 +936,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