.
D 2008-11-02T00:21:36
J assignee nobody
J cmimetype text/plain
J comment Here\sare\ssome\spatches.\sI\sdon't\sknow\sexactly\swhich\scategory\sis\sappropriate,\sbecause\sit\sspans\sa\sfew...\n\n--------------------------------------------------\n~/tcl/generic/tclBinary.c\n--------------------------------------------------\n\s\sTclInitBinaryCmd()\shad\sa\scomment\sasking\sfor\splastic\ssurgery,\sso\sI\sobliged.\s(Now\sit\sis\sshort\sand\sbeautiful.)\n\n\s\sTcl_SetByteArrayObj()\swas\salso\supdated\sto\shave\sthe\s'bytes'\s==\sNULL\sand\s'length'\s<\s0\stests\sin\sthere\sas\sdescribed\shere:\shttp://wiki.tcl.tk/21831\n\s\sTcl_GetByteArrayFromObj()\swas\snot\smodified.\n\n--------------------------------------------------\n~/tcl/generic/tclInt.h,\s~/tcl/generic/tclNamesp.c\n--------------------------------------------------\n\s\sTclMakeEnsemble()\sand\sEnsembleImplMap\swere\smodified\sto\senable\sthe\s(desired)\sbeautification\sof\sTclInitBinaryCmd().\sThey\sare\sfully\sbackwards-compatible\swith\sall\sthe\sother\sensemble\scommands\screated\sby\sthe\score:\n\s\sinfo\s\s\s:\stclCmdIL.c\n\s\sstring\s:\stclCmdMZ.c\n\s\sdict\s\s\s:\stclDictObj.c\n\s\sprefix\s:\stclIndexObj.c\n\s\schan\s\s\s:\stclIOCmd.c\nhence\stheir\scode\sdidn't\sneed\sto\sbe\schanged.\s(But\sthey\sdo\sneed\sa\srecompile\sbecause\sstruct\sEnsembleImplMap\shas\snew\selements\sin\sthere.)\n\n\s\sThe\snew\sTclMakeEnsemble()\scan\screate\ssub-command\sensembles\sin\saddition\sto\sglobal\scommand\sensembles.\sThe\sTclMakeEnsemble()\sfunction\sheader\sand\sthe\sTclInitBinaryCmd()\sbody\sdocument\sits\snew\spowers.\n\n--------------------------------------------------\n~/tcl/doc/ByteArrObj.3\n--------------------------------------------------\n\s\sUpdated\swith\stwo\slines\sindicating\sthat\s'bytes'\smay\sbe\sNULL\seven\sif\s'length'\s>\s0\s--in\swhich\scase\sthe\snewly-allocated\sbyte\sarray\scontains\suninitialized\sdata.\n\n\nThe\sattached\spatches\swere\sgenerated\swith\sthe\susual\sdiff\scommand.\n\nEach\spatch\sis\sattached.\nArgh,\sI\scan\sonly\sattach\sone\sfile.\sGimme\sa\ssec..\sI've\snever\sdiffed\smore\sthan\sone\sfile\sat\sonce\sbefore...\n\nOk,\sthere\sis\snow\sbut\sONE\sfile.\sAll\sthe\sCVS\sjunk\sand\sdirectory\sdifferences\sis\sremoved.\n\s\sdiff\s-r\stcl\stcl-modified\s>\sfoo.diff\n\nHope\sthis\shelps.\n\n--Michael
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter duoas
J subsystem None
J title tclBinary.c:TIBC(),T_SBAO();\stclInt.h,tclNamesp.c:TME()
J type Patch
K 2215022fffffffffffffffffffffffffffffffff
U duoas
Z 7bf5046e0ac1db447cdfac298e84a57f