Skip to content
Tcl Source Code Artifact [06ff5c7363]
Login

Artifact [06ff5c7363]

Artifact 06ff5c7363b854ca1f31029c39b6a4c162947df4:

Ticket change [06ff5c7363] - Ticket [1072136fffffffff|1072136fff] <i>change to tcl_findLibrary breaks freewrap</i> status still Closed with 4 other changes by freewrapmgr on 2004-11-29 07:13:07.
D 2004-11-29T07:13:07
J icomment Logged\sIn:\sYES\s\nuser_id=110848\n\nI'm\safraid\sthis\sbug\snotice\swas\sclosed\sout\stoo\ssoon.\sThere\sappears\sto\sbe\sa\s\nbug\sin\sthe\sC\scode\sthat\ssupports\sthe\s[file\snormalize]\scommand.\sIt\slooks\slike\s\nTCL's\sC\scode\shas\sa\sside\seffect\sthat\simproperly\soverwrites\smemory\spointed\s\nto\sby\sa\sTCL\svariable.\s\n\s\nThe\s"reasons"\sput\sforth\sso\sfar\sto\sexplain\sthe\sbug\snotice\sare\sincorrect.\sHere\s\nare\sthe\sreasons\sfor\smy\sconclusion:\s\n\s\n1)\sThe\sTCLSH\sonly\sversion\sof\sfreeWrap\sstill\sbuilds\sand\sruns\sfine\sunder\s\nWindows.\s\n\s\n2)\sThe\sposted\sproblem\sdoes\snot\soccur\suntil\sthe\sTCL/TK\sversion\sof\s\nfreeWrap\sis\sbuilt.\s\n\s\n3)\sAlthough\sremoving\sthe\scall\sto\s[file\snormalize]\sin\sthe\sauto.tcl\sfile\sdoes\s\n"fix"\sthe\sproblem,\splacing\sthe\sfollowing\sline\safter\sthe\soffending\sline\sshould\s\nalso\sprovide\sa\sfix...But\sit\sdoesn't!\s\n\s\n\s\s\s\s\s\sset\snorm\s$i\s\n\s\nReplacing\sthe\soffending\sline\swith:\s\n\s\n\s\s\s\s\s\sfile\snormalize\s$i\s\n\s\s\s\s\s\sset\snorm\s$i\s\n\s\nstill\sproduces\sthe\sproblem.\sThis\smeans\sthat\s[file\snormalize\s$i]\sis\sproducing\s\nan\sunwanted\sside-effect\sthat\sis\spreventing\sproper\sTK\sinitilization.\s\nComments\sin\sthe\sTCL\sC\scode\sseems\sto\sindicate\sthat\sthe\snormalization\s\nprocess\sextends\sthe\spath\sstring\sby\susing\sthe\smemory\spointed\sto\sby\sa\s\npointer.\sThe\sintermittent\s"failure"\sof\sthe\scode\sis\sconsistent\swith\sthe\s\naccidental\soverwriting\sof\smemory\s(Sometimes\sthe\smemory\soverwritten\sis\s\nimportant,\ssometimes\sit\sis\snot).\s\n\s\n
J login freewrapmgr
J mimetype text/plain
J username freewrapmgr
K 1072136fffffffffffffffffffffffffffffffff
U freewrapmgr
Z fa96b20fd38e210ffa80f95af6cb1557