.
D 2000-10-26T01:01:21
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s722\sBug\nVersion:\s8.0.3\nSubmitDate:\s'1998-10-13'\nLastModified:\s'1999-08-06'\nSeverity:\sSER\nStatus:\sReleased\nSubmitter:\sadmin\nChangedBy:\shobbs\nOS:\sAll\nOSVersion:\sNA\nMachine:\sNA\nFixedDate:\s'1999-08-06'\nFixedInVersion:\s8.0.4\nClosedDate:\s'2000-10-25'\n\n\nReproducibleScript:\s\sThe\sfollowing\sscript:\n\n\s\s\s\s\s\s\s\sputs\s"Tcl:\sversion:\s$tcl_version,\spatch=$tcl_patchLevel"\n\n\s\s\s\s\s\s\s\sset\saddr\s0x100\n\s\s\s\s\s\s\s\sputs\s"addr\s$addr"\n\n\s\s\s\s\s\s\s\sexit\n\n\s\s\s\s\s\s\s\sif\s{1\s<\s0x100}\s{}\n\nWhen\sI\srun\sit\son\sa\sFreeBSD\stcl7.6\ssystem\sit\sprints\sthe\sexpected\shex\svalue:\n\n\s\s\s\s\s\s\s\sTcl:\sversion:\s7.6,\spatch=7.6p2\n\s\s\s\s\s\s\s\saddr\s0x100\n\nWhen\sI\srun\sit\son\sa\sFreeBSD\stcl8.0\ssystem,\saddr\sis\sno\slonger\sin\shex:\n\n\s\s\s\s\s\s\s\sTcl:\sversion:\s8.0,\spatch=8.0p2\n\s\s\s\s\s\s\s\saddr\s256\n\nWhen\sI\srun\sit\son\sa\sNT4.0\stcl8.0.3\ssystem,\saddr\sis\sno\slonger\sin\shex:\n\n\s\s\s\s\s\s\s\sTcl:\sversion:\s8.0,\spatch=8.0.3\n\s\s\s\s\s\s\s\saddr\s256\n\nIf\sI\schange\s"0x100"\sin\sthe\sif\sstatement\sto\ssome\sother\svalue,\naddr\sprints\sin\shex.\s\sI.e.\s\sthe\svalue\sof\s"addr"\nin\sthe\sinitial\sset\scommand\sand\sthe\svalue\sin\sthe\sif\scommand\smust\nbe\sthe\ssame\sto\scause\sthis\sunexpected\schange\sto\saddr.\n\nSame\sproblem\sif\sthe\s"if"\sstatement\sis\schanged\sto\sa\s"for"\sstatement\s.\n\nObservedBehavior:\s\sExpands\s$addr\sto\s256.\nDesiredBehavior:\s\sShould\sexpand\s$addr\sto\s0x100\s.\nComments:\s\sI\sposted\sthis\sto\scomp.lang.tcl\swith\sthe\ssubject\n"tcl8.0.3\sunexpected\sevaluation"\sa\scouple\sof\sdays\sago.\n\n\nThis\swas\sdue\sto\soveraggressive\sobject\stype\sdetermination\sand\nhas\sbeen\sfixed\ssince\s8.0.4.\s\n--\s08/06/1999\shobbs
J foundin obsolete:\s8.0.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 10.\sObjects
J title incorrect\svariable\sevaluation\sof\svariable\swith\svalue\s0x100
J type Bug
K 218498ffffffffffffffffffffffffffffffffff
U nobody
Z 186d9cd3d4315bdbabaddab469362091