.
D 2002-04-26T15:15:45
J assignee dkf
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nI\scan't\sreproduce\susing\s8.4a5\son\sSolaris8,\sbut\sto\shelp\sI\nattach\sthe\sbytecode\sproduced\s(the\sinstruction\soffsets\sare\sa\nlittle\sodd\sbecause\sof\show\sI'm\sdoing\sthe\sinstrumentation)\n\n\s\sCommand\s4:\s"expr\s{$a||$b}"\n\s\s\s\s(16)\sloadScalar1\s0\s\s#\svar\s"a"\n\s\s\s\s(18)\sjumpTrue1\s6\s\s\s\s#\spc\s24\n\s\s\s\s(20)\spush1\s1\s\s\s\s\s\s\s\s#\s"0"\n\s\s\s\s(22)\sjump1\s4\s\s\s\s\s\s\s\s#\spc\s26\n\s\s\s\s(24)\spush1\s3\s\s\s\s\s\s\s\s#\s"1"\n\s\s\s\s(26)\sdup\s\n\s\s\s\s(27)\sjumpTrue1\s5\s\s\s\s#\spc\s32\n\s\s\s\s(29)\sloadScalar1\s1\s\s#\svar\s"b"\n\s\s\s\s(31)\slor\s\n\s\s\s\s(32)\sdone\s\n\nSo,\swhat\sis\sthe\sproblem?\s\sIs\sthe\sfault\scoming\sfrom\nINST_JUMP_TRUE1\sor\sINST_LOR?\s\sActually,\sit\sdoesn't\sreally\nmatter;\sthe\sreal\sproblem\sis\sindeed\sTcl_GetBooleanFromObj()\n(called\sby\sboth\sthose\sinstructions)\sbeing\sunable\sto\shandle\n0x0\son\ssome\splatforms.\n\nAh!\s\sOh.\s\sI\ssee\sa\sproblem\sbecause\sonly\sstrtoll()\sand\nstrtod()\sare\sused\sto\stry\sto\sparse\sthe\sstring,\sand\snot\nstrtol().\s\sI'll\sfix\sthis\sbug\s(which\sstill\sexists\son\sthe\shead\non\s64-bit\smachines!)\sand\sbackport\sto\sthe\s8.3\sbranch.\n
J login dkf
J mimetype text/plain
J subsystem 10.\sObjects
J username dkf
K 548686ffffffffffffffffffffffffffffffffff
U dkf
Z ff4119af6319f9912e25a6b8cbba8e9d