Skip to content
Tcl Source Code Artifact [021b0ac236]
Login

Artifact [021b0ac236]

Artifact 021b0ac23632e881f5481e4f043982f1a5a93081c4673450c68dcd778bb7a282:

Ticket change [021b0ac236] - Ticket [00655c867eabd57a|00655c867e] <i>ClockGetdatefieldsObjCmd(): avoid signed integer overflow and platform-dependent behavior</i> status still Pending with 3 other changes by chrstphrchvz on 2023-09-20 20:50:33.
D 2023-09-20T20:50:33.605
J icomment The\sexact\scutoffs\sfor\s<tt>localtime()</tt>/<tt>localtime_r()</tt>\serrors\smay\sdepend\son\sthe\splatform\sepoch,\sbut\sif\s<tt>struct\stm</tt>\sis\sconsistently\sdefined,\sthen\sI\swould\sthink\stime\svalues\swith\syears\sway\soutside\sof\s<tt>&#91;1900+INT_MIN,1900+INT_MAX&#93;</tt>\swill\sreliably\scause\san\serror.\sI\swill\slikely\sopen\sother\stickets\sabout\sthis.
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 00655c867eabd57ac3acd93bffe2f93799c12c89
U chrstphrchvz
Z 897805c7cd6b36150058e74edb57bff2