<i>info exists fails on long array names</i> status still Open with 4 other changes
by
.
D 2002-10-22T00:40:19
J icomment Logged\sIn:\sYES\s\nuser_id=72656\n\nDo\syou\sreally\sintend\sto\shave\sthe\sNULL\sthere,\sor\sdo\syou\sjust\s\nwant\sto\sensure\sthat\sit's\snull\sterminated?\s\sIf\sthe\slatter,\sdon't\sdo\s\nanything\sextra\s-\sTcl\shandles\sthat.\s\sIf\sthe\sformer,\sthen\syou\s\nshould\seither\sbe\susing\sthe\sTcl_ByteArrayObj\sstuff,\sor\syou\s\nshould\suse\sTcl_ExternalToUtf\sand\sfriends.\s\sThat\ssaid:\n\na)\sNo,\sthere\sare\slots\sof\sother\sAPIs\sto\shandle\sthat,\sas\snoted\s\nabove.\n\nb)\sThis\smay\sindicate\sexactly\swhere\sthe\sproblem\sis.\s\sWhile\s\nyou\scan\sprint\sit\sjust\sfine\s(and\sit\smay\sbe\sholding\sthe\sNULL\sin\s\nthere,\syou\sjust\scan't\ssee\sit),\sthe\sinfo\sexists\smay\snot\sinclude\s\nthe\snull\swhen\sit\spasses\sthe\svalue\sthrough\sa\sstrlen\sor\ssuch\s\n(that's\swhy\sNULL\sget's\sspecial\sencoding),\swhich\sis\sthe\ssource\s\nof\sthe\sproblem\syou\sare\sseeing.\n
J login hobbs
J mimetype text/plain
J username hobbs
K 624919ffffffffffffffffffffffffffffffffff
U hobbs
Z 18ceca949f092386e993d496031a848c