Skip to content
Tcl Source Code Artifact [33d1032cba]
Login

Artifact [33d1032cba]

Artifact 33d1032cba9a7f9cc4f9af574ad2eada3fb94880:

Manifest of check-in [33d1032cba] - * generic/tclInterp.c: Corrected bad syntax of Tcl_Panic() call. * generic/tclUtil.c (TclGetProcessGlobalValue): More robust handling of bad TclInitProcessGlobalValueProc behavior; an immediate panic rather than a mysterious crash later. * generic/tclEncoding.c: Several changes to the way the encodingFileMap cache is maintained. Previously, it was attempted to keep the file map filled and up to date with changes in the encoding search path. This contributed to slow startup times since it required an expensive "glob" operation to fill the cache. Now the validity of items in the cache are checked at the time they are used, so the cache is permitted to fall out of sync with the encoding search path. Only [encoding names] and Tcl_GetEncodingNames() now pay the full expense. [Bug 1177363] by dgp on 2005-04-12 20:28:37.
B 30c8e6bbc27fa43a9846ce2b975e96ec7ab13ad0
C \s\s\s\s\s\s\s\s*\sgeneric/tclInterp.c:\s\sCorrected\sbad\ssyntax\sof\sTcl_Panic()\scall.\n\n\s\s\s\s\s\s\s\s*\sgeneric/tclUtil.c\s(TclGetProcessGlobalValue):\sMore\srobust\shandling\n\s\s\s\s\s\s\s\sof\sbad\sTclInitProcessGlobalValueProc\sbehavior;\san\simmediate\spanic\n\s\s\s\s\s\s\s\srather\sthan\sa\smysterious\scrash\slater.\n\n\s\s\s\s\s\s\s\s*\sgeneric/tclEncoding.c:\s\s\s\s\s\s\s\sSeveral\schanges\sto\sthe\sway\sthe\n\s\s\s\s\s\s\s\sencodingFileMap\scache\sis\smaintained.\s\sPreviously,\sit\swas\sattempted\n\s\s\s\s\s\s\s\sto\skeep\sthe\sfile\smap\sfilled\sand\sup\sto\sdate\swith\schanges\sin\sthe\n\s\s\s\s\s\s\s\sencoding\ssearch\spath.\s\sThis\scontributed\sto\sslow\sstartup\stimes\ssince\n\s\s\s\s\s\s\s\sit\srequired\san\sexpensive\s"glob"\soperation\sto\sfill\sthe\scache.\s\sNow\sthe\n\s\s\s\s\s\s\s\svalidity\sof\sitems\sin\sthe\scache\sare\schecked\sat\sthe\stime\sthey\sare\n\s\s\s\s\s\s\s\sused,\sso\sthe\scache\sis\spermitted\sto\sfall\sout\sof\ssync\swith\sthe\n\s\s\s\s\s\s\s\sencoding\ssearch\spath.\s\sOnly\s[encoding\snames]\sand\sTcl_GetEncodingNames()\n\s\s\s\s\s\s\s\snow\spay\sthe\sfull\sexpense.\s\s[Bug\s1177363]\n
D 2005-04-12T20:28:37
F ChangeLog 248790b8a0168b6fd16ffdb2b005f2f70fad1b7f
F compat/strstr.c 09d5e91fe353354119779e6a654d5d9a3eb73344
F generic/tclEncoding.c 095d61241a364965480f9a27251170c50853ac23
F generic/tclInterp.c d7ebeaf70d6a2592b7c9384603310645591311fe
F generic/tclUtil.c 94f1f2b50245732851e3f7f8f3a5dbdde314e14b
F tools/tclZIC.tcl 934d7c6a477a5c66c9c01171ae3ef61007a50396 x
P 43ddb35efd3656c7e6a1ff904a09a033945174a6
U dgp
Z 724b46974c4b8981685697952be16abd