diff options
author | Steve Bennett <steveb@workware.net.au> | 2020-03-04 08:44:36 +1100 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2020-03-04 08:44:36 +1100 |
commit | f63172c57ad5810153e792f86aa20bf418a6a78d (patch) | |
tree | 6988c2b4401163d327952fdbc7b9fb724795e5a2 /jim_tcl.txt | |
parent | 9a4982c17d02b0ab299e5d67cb7e2964bfe5ca44 (diff) | |
download | jimtcl-f63172c57ad5810153e792f86aa20bf418a6a78d.zip jimtcl-f63172c57ad5810153e792f86aa20bf418a6a78d.tar.gz jimtcl-f63172c57ad5810153e792f86aa20bf418a6a78d.tar.bz2 |
clock: test and doc non-Y2038 compliance
Add a note in the documentation for clock that some systems
use 32-bit time_t and are thus not year 2038 compliant.
Also add a test to catch this in clock.test
Reported-by: dbohdan <dbohdan@dbohdan.com>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim_tcl.txt')
-rw-r--r-- | jim_tcl.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt index 39c7984..b645549 100644 --- a/jim_tcl.txt +++ b/jim_tcl.txt @@ -1901,6 +1901,9 @@ clock See strptime(3) for supported formats. See `clock format` for the handling of '-gmt'. +*NOTE* Some systems such as 32-bit Linux have only a 32-bit time_t, and are therefore not year 2038 +compliant. + close ~~~~~ +*close* 'fileId'+ |