Skip to content
Tcl Source Code Artifact [2c56e45fcc]
Login

Artifact [2c56e45fcc]

Artifact 2c56e45fcc4a697de62f5a33cd59455e0bd81033:

Ticket change [2c56e45fcc] - Ticket [1665628fffffffff|1665628fff] <i>destructive scan of a ByteArray</i> status still Open with 7 other changes by dkf on 2009-02-21 16:40:44.
D 2009-02-21T16:40:44
J foundin None
J icomment \n\ndata_type\s-\s360894\n\nRight\snow,\sTcl_GetByteArrayFromObj\sis\snot\san\sAPI\sthat\scan\sfail.\s(To\sbe\sexact,\sit\scan't\sreport\sthe\snature\sof\sthe\sfailure\ssince\sit\sdoes\snot\stake\sa\sTcl_Interp\sargument.)\sGoing\sthrough\sthe\sAPI\sto\schange\sthis\swould\sbe\ssubstantially\sdisruptive,\sand\sequally\sso\sfor\sthird-party\scode.\sAnd\sTcl_Panic\sis\snot\sappropriate\seither;\sthat\sshouldn't\sbe\sused\sfor\scases\sthat\sare\snot\sC-level\sprogramming\serrors\s(we\sdo\sit\sfor\smemory\smanagement\sonly\sbecause\swe\sdon't\sknow\sa\sgood\sway\sto\srecover\sin\sgeneral...)\sGiven\sall\sthis,\sI'm\sunwilling\sto\scountenance\swhat\syou're\sproposing;\sthe\sadding\sof\snew\sfailure\smodes\sis\stricky.\n\nThe\soriginal\sproblem\sseems\ssolved\senough\sthat\sthis\scan\sbe\sa\sFRQ.\n
J login dkf
J mimetype text/plain
J subsystem 12.\sByteArray\sObject
J title destructive\sscan\sof\sa\sByteArray
J username dkf
K 1665628fffffffffffffffffffffffffffffffff
U dkf
Z 7dda7c923ce667ce7922b41dc3f0d8c3