diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2011-07-03 10:12:19 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2011-07-03 10:12:19 (GMT) |
commit | 78a7ef679279ffb0df970b6946365a894ea3284d (patch) | |
tree | 020b1e912a5e90a102ea5f6aac6b933c6027d5ab | |
parent | b2bd7872606fec0a1b5cef6cc8a798bb19262490 (diff) | |
parent | 874a01b5d4107e8aca7f9e1315c49058134ea2ef (diff) | |
download | tcl-78a7ef679279ffb0df970b6946365a894ea3284d.zip tcl-78a7ef679279ffb0df970b6946365a894ea3284d.tar.gz tcl-78a7ef679279ffb0df970b6946365a894ea3284d.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-- | 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 |