Skip to content
Tcl Source Code Artifact [b9c41e38bd]
Login

Artifact [b9c41e38bd]

Artifact b9c41e38bdd3a1d02dfb6fc3175510cd314b121d:

Ticket change [b9c41e38bd] - New ticket [218992ffffffffff|218992ffff] <i>incorrect return value for &quot;scan&quot; command</i>. by nobody on 2000-10-26 01:09:03.
D 2000-10-26T01:09:03
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3700\sBug\nVersion:\s8.2.2\nSubmitDate:\s'1999-11-29'\nLastModified:\s'1999-11-29'\nSeverity:\sSER\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sLinux-Red\sHat\nOSVersion:\sGNU-Linux\sRed-Hat\s5.2\sand\sMandrake\s6.0\nMachine:\sPC\sbased\sCeleron\nFixedDate:\s'1999-11-29'\nFixedInVersion:\s8.3b1\nClosedDate:\s'2000-10-25'\n\n\nName:\sEric\sTHIEBAUT\n\nReproducibleScript:\nscan\s"=\sF"\s"\s=\s%\\[TF\\]"\svar\s\s;#\sOK:\sreturn\sexpected\sresult:\s1,\swith\svar\sset\sto\s"F"\nscan\s"=\sf"\s"\s=\s%\\[TF\\]"\svar\s\s;#\sBUG:\sreturn\sunexpected\sresult:\s1\s(instead\sof\s0),\swith\svar\sset\sto\s{}\n\nObservedBehavior:\nThe\sbuiltin\scommand\s"scan"\s\sin\sTcl-8.2.2\sdoes\snot\scorrectly\sbehave\swith\sset\sof\scharacters\s(see\scode\ssample).\s\sI\shave\schecked\sthat\sTcl-8.0\sbehaves\sas\sexpected.\n\nDesiredBehavior:\nsee\scomments\sin\ssample\scode\n\n\n\nThe\sCharSet\smatching\sin\stclScan.c\swasn't\staking\sinto\saccount\nthe\scase\swhere\snothing\smatched\sa\scharset\sand\swe\sshould\sfinish.\nThis\sis\sfixed\sfor\s8.3b1.\s\n--\s11/29/1999\shobbs
J foundin obsolete:\s8.2.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title incorrect\sreturn\svalue\sfor\s"scan"\scommand
J type Bug
K 218992ffffffffffffffffffffffffffffffffff
U nobody
Z 2040973a9538b57f509b3963443f824f