.
D 2000-10-26T00:57:41
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s6352\sBug\nVersion:\s8.2\nSubmitDate:\s'2000-10-10'\nLastModified:\s'2000-10-11'\nSeverity:\sLOW\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sWindows\sNT\nOSVersion:\sNT\s4\sSP6a\nMachine:\sCompaq\sDual\sPentium!!!\s550MHz,\s2GB\sRAM\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-11'\n\n\nName:\nCarlos\sBueno\n\nCustomShell:\nThis\sis\sthe\sTCL\spackage\sthat\sships\swith\sStoryServer\s5.0.\sThe\sonly\smodifications\smade\sby\sVignette\sI\sam\saware\sof\sis\sthe\sdisabling\sof\sthe\s[encoding]\scommand.\n\nReproducibleScript:\nif\s{[string\sis\strue\s{}]\s&&\s[string\sis\sfalse\s{}]}\s{\n\s\s\s\sputs\s"huh?"\n}\n\nObservedBehavior:\nWe\sare\susing\sTCL\s8.2\sshipping\swith\sStoryServer\s5.0.\sThe\sdocs\sstate\sthat\s"If\sstring\sis\sany\sof\s0,\sfalse,\sno,\sor\soff,\sthen\sTcl_GetBoolean\sstores\sa\szero\svalue\sat\s*boolPtr.\sIf\sstring\sis\sany\sof\s1,\strue,\syes,\sor\son,\sthen\s1\sis\sstored\sat\s*boolPtr."\n\nDoesn't\smention\sbehavior\swith\sempty\sstrings,\sthough\sfrom\sthe\sabove\syou'd\sassume\sit\swould\salways\sreturn\s0.\sIf\sthis\sreturning\sof\s1\sis\scorrect,\s\n\n1.\sWhy?\n2.\sCould\syou\splease\sput\sthat\sin\sthe\sdocs?\n\nDesiredBehavior:\nI\sexpect\s[string\sis\strue\s{}]\sand\s[string\sis\sfalse\s{}]\sto\szero\sor\sexplain\sthe\sreason\swhy.\n\n\n\nPlease\ssee\sdocs.\s\sThis\sis\sdefined\sbehavior\swhen\s-strict\sis\snot\sused.\s\n--\s10/11/2000\shobbs
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Why\sdo\s[string\sis\strue\s{}]\sand\s[string\sis\sfalse\s{}]\sBOTH\sret
J type Bug
K 218445ffffffffffffffffffffffffffffffffff
U nobody
Z b0279f295ed92f328607a03e04a67091