Skip to content
Tcl Source Code Artifact [1227d23a1c]
Login

Artifact [1227d23a1c]

Artifact 1227d23a1cafab0f882357e347b1d893bad0ee04d24d334640b41e7ca2f1303d:

Ticket change [1227d23a1c] - Ticket [02b58d5d040821ba|02b58d5d04] <i>Direct access of *64 functions by Tcl code (code cleanup)</i> status still Closed with 5 other changes by chrstphrchvz on 2023-07-21 15:12:41.
D 2023-07-21T15:12:41.019
J closedate 2460147.13380809
J closer chrstphrchvz
J icomment I\sapologize\sfor\sany\sconfusion,\sbut\smy\scomment\sabout\sthe\sorder\sof\stests\sdoes\snot\sapply\sto\s<tt>_LARGEFILE64_SOURCE</tt>,\sso\sI\sdon’t\sthink\s[d6640b90305e]\smakes\sany\sdifference.\sAlthough\sthat\smacro\sis\salso\sconsidered\sobsolete,\sit\sis\sin\sthe\ssense\sthat\sthe\sfamily\sof\sfunction\sdeclarations\sand\sstructure\sdefinitions\sit\senables,\se.g.\s<tt>stat64()</tt>\sand\s<tt>struct\sstat64</tt>,\sare\sobsolete\sin\sfavor\sdefining\s<tt>_FILE_OFFSET_BITS=64</tt>\sto\senable\s64-bit\s<tt>stat()</tt>\sand\s<tt>struct\sstat</tt>\sand\susing\sthose\sinstead.\s\sNot\sdefining\s<tt>_LARGEFILE64_SOURCE</tt>\sleaves\s<tt>stat64()</tt>\sand\s<tt>struct\sstat64</tt>\sdisabled,\sregardless\sof\swhether\s<tt>_FILE_OFFSET_BITS=64</tt>\sis\sdefined.\r\n\r\nAlso\sbe\saware\sthat,\sdepending\son\swhether\s<tt>_FILE_OFFSET_BITS=64</tt>\sor\s<tt>_TIME_BITS=64</tt>\sare\sdefined,\s<tt>sizeof(struct\sstat64)</tt>\sand\sthe\simplementation\s(i.e.\ssymbol\sname)\sof\s<tt>stat64()</tt>\scan\schange\son\s32-bit\ssystems.\r\n\r\nP.S.:\s[https://gcc.godbolt.org]\sis\sa\sneat\stool\sfor\sexploring\sthis\sstuff.
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 02b58d5d040821baebe7eccd70aee11afa1bacae
U chrstphrchvz
Z 0964a13007ae8707b5a8a060e1399caf