Skip to content
Tcl Source Code Artifact [c2b03341a1]
Login

Artifact [c2b03341a1]

Artifact c2b03341a14ec1cf3001fa30d3a9b47e335e52d4cc7e510378f063ca0b70a66d:

Ticket change [c2b03341a1] - Ticket [92564326a98b5510|92564326a9] <i>Open file descriptor leak: better align dir operations(opendir/readdir/closedir) all to either 64bit or 32bit ones.</i> status still Pending with 3 other changes by jan.nijtmans on 2018-06-05 07:45:42.
D 2018-06-05T07:45:42.711
J icomment Thanks,\ssebres,\sfor\staking\sthis!\s\sFor\sthe\s8.x\sline\sI\sagree\swith\syour\sapproach.\sThe\sreason:\sUsing\s-D_LARGEFILE_SOURCE\s-D`$(getconf\sLFS_CFLAGS)`\swould\saffect\sall\susage\sof\soff_t,\sthe\sones\sin\s'struct\sstat'\sas\swell.\sSo,\sit\scould\slead\sto\sbinary\sincompatibility\son\ssome\splatforms\s(however\ssubtile).\sFor\s9.0\sthat's\sOK\s(even\sbetter)\sbut\sfor\s8.x\sI'm\sa\slittle\sbit\sreluctant\sto\smake\sthat\sstep\salready.\r\n\r\nSo\s-\sindeed\s-\sall\sthose\s#ifdef's\smake\sit\sa\slittle\sbit\scomplicated,\sbut\sit\sfully\spreserves\sbinary\scompatibility\swith\searlier\s8.x\sreleases.\sGood\swork!\r\n\r\nSo,\s+1\sfor\smerging\sit\sfurther\s(core-8-branch\sand\strunk).\sWe\salready\shave\sticket\s[02b58d5d04]\sfor\scleaning\sup\sthe\scode\sfor\s9.0,\sdoing\sit\sthe\s'right'\sway\s(implementation\snot\s100%\sfinished\syet,\sno\sTIP\sneeded\sbecause\sit's\simplementation\schange\sonly)
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 92564326a98b551099d3e61bbe88e3b5f9720c15
U jan.nijtmans
Z bf580e55d03ab14003fe339b409c9652