Skip to content
Tcl Source Code Artifact [0ba4a3047d]
Login

Artifact [0ba4a3047d]

Artifact 0ba4a3047dffad2aef3a90b4af4147b63ee16a6c:

Ticket change [0ba4a3047d] - Ticket [585105ffffffffff|585105ffff] <i>CONST-ified parser</i> status still Open with 4 other changes by dgp on 2002-08-02 05:21:02.
D 2002-08-02T05:21:02
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\n\nThere\sare\s3\spotential\sproblems\swith\sthe\sTk\spatch.\n\nThe\sTcl\sPatch\sCONST-ifies\sthe\sTcl_CmdProc\stypedef,\nso\sthat\sthe\sstring\sarguments\spassed\sin\sas\s"argv"\sare\snot\nsupposed\sto\sbe\sscribbled\son.\s\sThe\sTk\spatch\shere\smakes\nuse\sof\sUSE_COMPAT_CONST\sto\strick\sthe\scompiler\sinto\nusing\sthe\s8.3\sdefinition\sof\sTcl_CmdProc,\sso\sTk\swill\sbuild\nfine.\n\nHowever,\sif\sanother\smodule\sis\sbuilt\susing\sthe\s8.4\sdefinition,\nand\sthe\scompiler\srelies\son\sthe\s"const"\snature\sof\sthe\sarguments\nto\sstore\sthem\sin\sread-only\smemory,\sthere\scould\sbe\sa\srun\stime\nerror\sif\sin\sfact\sTk\sdoes\sattempt\sto\sscribble\son\sany\sof\sthe\narguments\spassed\sto\sits\scommands.\n\nTk\sin\sfact\sdoes\smake\s3\ssuch\sattempts:\n\ngeneric/tkBind.c,\slines\s4218,\s4222:\sparsing\san\sevent\sspecifier\n\ngeneric/tkTextIndex.c,\slines\s368,370,457,459,479,481,491,493:\n\s\s\s\s\s\s\s\s\s\s\s\sparsing\stext\sindex\sstrings\n\ngeneric/tkTest.c,\sline\s2259:\ssome\sstrange\sconversion\sof\s\\n\n<->\s\\0\n\nA\sbetter\spatch\sfor\sTk\swill\saddress\sthese\sareas.\n\n
J login dgp
J mimetype text/plain
J username dgp
K 585105ffffffffffffffffffffffffffffffffff
U dgp
Z 08d1ad01e885161d88cf8ca899d027e4