Skip to content
Tcl Source Code Artifact [deead33d2e]
Login

Artifact [deead33d2e]

Artifact deead33d2eb4f4986a48125d519bc5de97a88df7:

Ticket change [deead33d2e] - Ticket [942170ffffffffff|942170ffff] <i>HAVE_ST_BLOCKS missing in configure</i> status still Open with 4 other changes by stwo on 2009-11-06 03:02:22.
D 2009-11-06T03:02:22
J icomment USE_OBSOLETE_FS_HOOKS\senables\sold\scode\swhich\salso\suses\s\sHAVE_ST_BLOCKS.\nIf\sHAVE_ST_BLOCKS\sis\senabled\sthen\sthe\sC\sfunction\sTcl_Stat\sand\sthe\sTcl\scommand\s[file\sstat]\swill\sreturn\sa\s'blocks'\sfield.\nThis\shas\sbeen\saround\ssince\s8.4.0\sand\sseeing\sas\sno\sone\sseems\sto\sbe\smissing\sit,\sI'd\sagree\sthat\sit\sshould\sbe\spurged.\nBut!\sThe\simplementation\sof\sTIP\s316\shas\snow\sadded:\sTcl_GetBlocksFromStat\s-\sReturns\sthe\sst_blocks\sfield\sas\san\sunsigned\swide\sinteger.\nIf\sHAVE_ST_BLOCKS\sisn't\sdefined\sthen\sa\sguess\sis\smade.\nSo\sperhaps\sHAVE_ST_BLOCKS\sshould\sbe\sproperly\sconfigured\sand\sused.\nThe\sfunction\sStoreStatData\sin\sgeneric/tclICmdAH.c\scould\sbe\smodified\sto\suse\sthe\sTIP\s316\sfunctions.\nHave\sall\sthe\s'stat'\sfunctions/commands\sreturn\sthe\ssame\sfields.\nAs\sit\sis\snow,\sif\sHAVE_ST_BLOCKS\swere\sto\sbe\senabled\sthen\sthe\sresult\sof\s[file\sstat]\swould\scontain\san\s'extra'\sfield.\sThis\scauses\sa\stest\sfailure\ssince\sthe\stest\ssuite\sdoesn't\saccount\sfor\sthe\s'blocks'\sfield\seither.\n
J login stwo
J mimetype text/plain
J username stwo
K 942170ffffffffffffffffffffffffffffffffff
U stwo
Z 7034f258db7271ac44269e97c9ef6990