Skip to content
Tcl Source Code Artifact [06d738b747]
Login

Artifact [06d738b747]

Artifact 06d738b7471e28420a8410ec8248bc3b5c9b14f2:

Ticket change [06d738b747] - Ticket [584051ffffffffff|584051ffff] <i>Tcl_Parse* ignore length argument</i> status still Open with 5 other changes by dgp on 2002-07-20 06:16:59.
D 2002-07-20T06:16:59
J assignee jenglish
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\n\nTcl_ParseBraces\shas\ssimilar\strouble.\nImagine\sthe\stest\scommand:\n\ntestparsebraces\s"\\{a\\\\\\n\\t\\t\sfoo\sbar}"\s3\s0\n\nT_PB\sshould\sexamine\sthe\s3\scharacters\n{\sa\s\\\nand\sreturn\sthe\serror\s"missing\sclose-brace".\nInstead\sit\sgets\scaught\sup\strying\sto\sdo\nbackslash\ssubstitution,\sand\sscans\sall\sthe\nway\sto\sthe\sclose-brace.\s\sIt\swould\skeep\ngoing\sthrough\sall\smemory\suntil\sit\sfound\none.\n\nFixes:\s1)\sDocument\sT_PB\sas\srequiring\nNUL-terminated\sstring\s(YUK!);\sor\n2)\sHave\sT_PB\sset\sthe\sNUL\sit\sneeds\s\non\sentry,\sand\srestore\son\sexit;\sor\n3)\sHave\sT_PB\scall\sa\sdifferent\sform\sof\nTcl_UtfBackslash\sthat\scan\sproperly\noperate\son\scounted\sstrings.\n
J login dgp
J mimetype text/plain
J username dgp
K 584051ffffffffffffffffffffffffffffffffff
U dgp
Z 05d6469b57b50ad05ea8e674ce54a0fe