diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/FileSystem.3 | 14 |
2 files changed, 14 insertions, 6 deletions
@@ -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 |