.
D 2002-09-23T23:24:32
J icomment Logged\sIn:\sYES\s\nuser_id=154581\n\nIt's\snot\sa\smemory\scorruption,\sbut\sa\ssprintf\sformat\sbug.\sThe\nTCL_LL_MODIFIER\sgets\sset\sto\sll,\swhich\sleads\sto\sa\ssprintf\sof\s\n%lld\sand\sthis\sin\sturn\sleads\sto\sprinting\sup\sof\s"ld"\s(as\sDigital\sUnix\s\ndoes\snot\ssupport\sthis,\s\sand\sneither\sdoes\sit\ssupport\slltostr).\n\nDigital\sUnix,\srunning\son\san\sAlpha,\shas\slong\sas\s64bits.\s%d\sis\sfor\s\n32-bit\sintegers\sand\s%ld\sfor\sl64-bit\slongs.\sThis\sis\sthe\snice\sand\s\neasy\scase,\swhich\sother\sOSes\shave\sbroken\saway\sfrom\swith\s\ntheir\slong\slong\shacks.\sI\sneed\sto\sfigure\sout\swhy\sthe\sautomatic\s\ntype\sdetection\sin\stcl.h\sis\schosing\sthe\swrong\smacro,\sbut\sonce\s\nI've\sdone\sthat\sI'll\ssubmit\sa\spatch\sfor\stesting\s(I\scannot\stest\sit\son\s\nlinux/alpha).\n\nWhat\sI\scannot\sfigure\sout\sfrom\sall\sthis\sis\squite\show\scome\sthis\s\nbug\srequired\sthe\sblack\smagic\sinvocations\sI\slisted\sat\sthe\sstart\sto\s\ntrigger\sit.\sClearly\scalling\sdouble(150)\scauses\sa\s64-bit\sversion\s\nof\sthe\snumber\sand\sa\sremoval\sof\sthe\sstring-format\scopy,\sbut\sI\s\ncannot\ssee\swhy\sthis\sis\sdependant\son\s150\sbeing\sused\sin\san\s\nargument\sto\sgrid!\sAnyway,\sI'm\spleased\sto\sfinally\sget\s\nsomewhere\swith\sthis\srather\sbizarre\sbug!\n\nJames\n\n
J login jkbonfield
J mimetype text/plain
J username jkbonfield
K 613117ffffffffffffffffffffffffffffffffff
U jkbonfield
Z e203674f2f9d4cee350372cdac59a1d7