Manifest of check-in
[cdb24ed969]
- * generic/tclVar.c (Tcl_GetVar2Ex): added ability to recognize
TCL_TRACE_READS flags to cause creation of part1 in TclLookupVar
to make sure newly created array will get read traces triggered
appropriately. This is called by Tcl_ObjGetVar2, Tcl_GetVar, and
Tcl_GetVar2.
(TclSetIndexedScalar, TclSetElementOfIndexedArray): added read
trace triggering for lappend case.
(Tcl_LappendObjCmd): pass TCL_TRACE_READS to Tcl_ObjGetVar2 to
trigger possible read traces for new arrays.
by
hobbs on
2001-07-03 23:38:58.
B 8ee4571bc620e35190a9217409e007663b749a6a
C \t*\sgeneric/tclVar.c\s(Tcl_GetVar2Ex):\sadded\sability\sto\srecognize\n\tTCL_TRACE_READS\sflags\sto\scause\screation\sof\spart1\sin\sTclLookupVar\n\tto\smake\ssure\snewly\screated\sarray\swill\sget\sread\straces\striggered\n\tappropriately.\s\sThis\sis\scalled\sby\sTcl_ObjGetVar2,\sTcl_GetVar,\sand\n\tTcl_GetVar2.\n\t(TclSetIndexedScalar,\sTclSetElementOfIndexedArray):\sadded\sread\n\ttrace\striggering\sfor\slappend\scase.\n\t(Tcl_LappendObjCmd):\spass\sTCL_TRACE_READS\sto\sTcl_ObjGetVar2\sto\n\ttrigger\spossible\sread\straces\sfor\snew\sarrays.\n
D 2001-07-03T23:38:58
F ChangeLog c68e86a34dc295d8b9134f98d513c23a6a1d1122
F generic/tclVar.c 5b8ef5d24c55708e4cdd3ff127836a27badf9e6c
F tests/clock.test 7cd243e5a665dc6a1dcd0745ccad31d137f071b1
F tests/unixInit.test 2df37284894328685171c352d06a9d534f76e1cb
F win/configure ba6dba8b7988f16ae28d81661cbd76245b1bac64 x
F win/tcl.m4 14bf417c4afe1a36e59ec13f3abf2e0eafc372eb
P 44f6cca25b42cec85b7bf520a3db4f3593d315ea
U hobbs
Z be72b541d1b6acf1753720122050f710