.
D 2002-04-26T06:58:13
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nI\sthink\sI\sfound\sthe\ssource\sof\sthe\sbug:\sINST_LOR\scalls\nTcl_GetBooleanFromObj(),\swhich\sthen\scalls\sstrtod()\son\sthe\nstring.\sApparently,\sthe\sSolaris\sstrtod()\sdoes\snot\shandle\shex\nnumbers\s...\n\nQuoting\sfrom\nhttp://www.redhat.com/devnet/whitepapers/solaris_port/x1609.html\n\n"Note:\sThe\sGNU\sC\slibrary\sincludes\sall\sISO\sC99\sfunctionality.\nThis\sintroduces\stwo\skinds\sof\sproblems:\s\na)\straditionally\sused\sinterfaces\smight\sbe\sreused\s(example:\nthe\snan\sfunction,\sthere\swas\sa\snan\ssymbol\son\ssome\nimplementation\sdenoting\sthe\sNaN\svalue);\s\nb)\ssilent\schanges\sin\sthe\simplementation.\sThe\slatter\sis\nespecially\sbad\sbut\sunavoidable.\sOne\soften\shit\sproblem\sis\sthe\nchange\sin\sstrtod\set.al\sto\sallow\sthe\shexadecimal\nfloating-point\snumber\snotation\swhich\ssuddenly\slets\sstrtod\naccept\sexpressions\sit\swould\snot\shave\sbefore."\n\nI\sthink\sI\scan\sfind\sa\sworkaround\sfor\sthis\s-\sthe\scall\sto\nstrtod\smight\sbe\spremature\sin\sTcl_GetBooleanFromObj(),\sor\sthe\nthe\scall\sto\sTcl_GetBooleanFromObj()\smight\sbe\spremature\sin\nINST_LOR;\showever,\sit\swill\snot\shappen\stonight.\s\n\nAlso,\sit\smight\sbe\sa\sgood\sopportunity\sto\slook\sfor\sother\nhex/strtod\sbugs\slurking\sin\sthere.\n\n
J login msofer
J mimetype text/plain
J username msofer
K 548686ffffffffffffffffffffffffffffffffff
U msofer
Z 20fc88d7457ccd4fafc8763ea91dc6ad