.
D 2003-02-14T21:09:40
J assignee vincentdarley
J cmimetype text/plain
J comment The\sfollowing\sexpect\sscript\sshows\sunexpected\s(sic)\nbehaviour\swhen\srun\son\sTcl\sas\sof\s2003/01/17\sor\slater:\n\n\sspawn\s/bin/echo\s"test\\nfoo\\nbar\\nbla"\n\swhile\s1\s{\n\s\s\s\sexpect\s{\n\s\s\s\s\s\s\s\s-re\s"\\n"\s{\slappend\slines\s$expect_out(buffer)\s}\n\s\s\s\s\s\s\s\seof\sbreak\n\s\s\s\s}\n\s}\n\sforeach\sline\s$lines\s{\sputs\s"»$line«"\s}\n\nIt\sshould\sprint:\n---------------\n»test\n«\n»foo\n«\n»bar\n«\n»bla\n«\n---------------\nbut\sit\sdoes\sprint\ssomething\slike:\n---------------\n»test\n«\n»foo\nb«\n»ar\nbl«\n---------------\n\nOn\ssome\smachines\sit\sfails\salmost\severy\stime,\son\sothers\nonly\sonce\sin\sa\swhile.\sIf\sexpect\sis\sbeing\srun\son\sa\si386\nunder\svalgrind,\sthe\smisbehaviour\soccurs\severy\stime.\sIf\nTcl_SetObjLength()\sget's\sreverted\sto\sr1.26\sthe\sproblem\ndisappears.\n
J foundin obsolete:\s8.4.1.1
J priority 5\sMedium
J resolution None
J status Open
J submitter rmax
J subsystem 44.\sUTF-8\sStrings
J title Changes\sto\sTcl_SetObjLength()\sbreak\s"expect\s-re"
J type Bug
K 686782ffffffffffffffffffffffffffffffffff
U rmax
Z c8d4d6cd976ba902715bbbbb3cec64e1