Check-in [755ff795c0]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:add selected tcl upstream changes
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 755ff795c0220537ce31cbcd599b8a67e0385190
User & Date: chw 2019-09-12 09:36:31
Context
2019-09-12
10:08
now build haiku undroidwish with jsmpeg and imgjp2 check-in: e956c9bbda user: chw tags: trunk
09:36
add selected tcl upstream changes check-in: 755ff795c0 user: chw tags: trunk
09:24
tweaks for fork/exec on haiku check-in: a6e21badea user: chw tags: trunk
Changes

Changes to jni/tcl/generic/tclCompile.c.

  2117   2117   {
  2118   2118       int lastCmdIdx = -1;	/* Index into envPtr->cmdMapPtr of the last
  2119   2119   				 * command this routine compiles into bytecode.
  2120   2120   				 * Initial value of -1 indicates this routine
  2121   2121   				 * has not yet generated any bytecode. */
  2122   2122       const char *p = script;	/* Where we are in our compile. */
  2123   2123       int depth = TclGetStackDepth(envPtr);
         2124  +    Interp *iPtr = (Interp *) interp;
  2124   2125   
  2125   2126       if (envPtr->iPtr == NULL) {
  2126   2127   	Tcl_Panic("TclCompileScript() called on uninitialized CompileEnv");
  2127   2128       }
         2129  +    /* 
         2130  +     * Check depth to avoid overflow of the C execution stack by too many
         2131  +     * nested calls of TclCompileScript (considering interp recursionlimit).
         2132  +     * Factor 5/4 (1.25) is used to avoid too mistaken limit recognition
         2133  +     * during "mixed" evaluation and compilation process (nested eval+compile)
         2134  +     * and is good enough for default recursionlimit (1000).
         2135  +     */
         2136  +    if (iPtr->numLevels / 5 > iPtr->maxNestingDepth / 4) {
         2137  +	Tcl_SetObjResult(interp, Tcl_NewStringObj(
         2138  +	    "too many nested compilations (infinite loop?)", -1));
         2139  +	Tcl_SetErrorCode(interp, "TCL", "LIMIT", "STACK", NULL);
         2140  +	TclCompileSyntaxError(interp, envPtr);
         2141  +	return;
         2142  +    }
  2128   2143   
  2129   2144       /* Each iteration compiles one command from the script. */
  2130   2145   
  2131   2146       if (numBytes > 0) {
  2132   2147         /*
  2133   2148          * Don't use system stack (size of Tcl_Parse is ca. 400 bytes), so
  2134   2149          * many nested compilations (body enclosed in body) can cause abnormal
................................................................................
  2199   2214   	     * The advantage of this shortcut is that CompileCommandTokens()
  2200   2215   	     * can be written with an assumption that parsePtr->numWords > 0, with
  2201   2216   	     * the implication the CCT() always generates bytecode.
  2202   2217   	     */
  2203   2218   	    continue;
  2204   2219   	}
  2205   2220   
         2221  +	/* 
         2222  +	 * Avoid stack exhaustion by too many nested calls of TclCompileScript
         2223  +	 * (considering interp recursionlimit).
         2224  +	 */
         2225  +	iPtr->numLevels++;
         2226  +
  2206   2227   	lastCmdIdx = CompileCommandTokens(interp, parsePtr, envPtr);
         2228  +
         2229  +	iPtr->numLevels--;
  2207   2230   
  2208   2231   	/*
  2209   2232   	 * TIP #280: Track lines in the just compiled command.
  2210   2233   	 */
  2211   2234   
  2212   2235   	TclAdvanceLines(&envPtr->line, parsePtr->commandStart, p);
  2213   2236   	TclAdvanceContinuations(&envPtr->line, &envPtr->clNext,

Changes to jni/tcl/library/tzdata/America/Detroit.

     7      7       {-883594800 -18000 0 EST}
     8      8       {-880218000 -14400 1 EWT}
     9      9       {-769395600 -14400 1 EPT}
    10     10       {-765396000 -18000 0 EST}
    11     11       {-757364400 -18000 0 EST}
    12     12       {-684349200 -14400 1 EDT}
    13     13       {-671047200 -18000 0 EST}
           14  +    {-80506740 -14400 0 EDT}
           15  +    {-68666400 -18000 0 EST}
           16  +    {-52938000 -14400 1 EDT}
           17  +    {-37216800 -18000 0 EST}
           18  +    {-31518000 -18000 0 EST}
    14     19       {94712400 -18000 0 EST}
    15     20       {104914800 -14400 1 EDT}
    16     21       {120636000 -18000 0 EST}
    17     22       {126687600 -14400 1 EDT}
    18     23       {152085600 -18000 0 EST}
    19     24       {157784400 -18000 0 EST}
    20     25       {167814000 -14400 0 EDT}

Changes to jni/tcl/library/tzdata/America/Edmonton.

    16     16       {-1473001200 -21600 1 MDT}
    17     17       {-1459699200 -25200 0 MST}
    18     18       {-880210800 -21600 1 MWT}
    19     19       {-769395600 -21600 1 MPT}
    20     20       {-765388800 -25200 0 MST}
    21     21       {-715791600 -21600 1 MDT}
    22     22       {-702489600 -25200 0 MST}
    23         -    {-84380400 -21600 1 MDT}
    24         -    {-68659200 -25200 0 MST}
    25         -    {-21481200 -21600 1 MDT}
    26         -    {-5760000 -25200 0 MST}
    27     23       {73472400 -21600 1 MDT}
    28     24       {89193600 -25200 0 MST}
    29     25       {104922000 -21600 1 MDT}
    30     26       {120643200 -25200 0 MST}
    31     27       {136371600 -21600 1 MDT}
    32     28       {152092800 -25200 0 MST}
    33     29       {167821200 -21600 1 MDT}

Changes to jni/tcl/library/tzdata/America/Indiana/Tell_City.

     7      7       {-1615136400 -21600 0 CST}
     8      8       {-1601827200 -18000 1 CDT}
     9      9       {-1583686800 -21600 0 CST}
    10     10       {-880214400 -18000 1 CWT}
    11     11       {-769395600 -18000 1 CPT}
    12     12       {-765392400 -21600 0 CST}
    13     13       {-757360800 -21600 0 CST}
    14         -    {-747244800 -18000 1 CDT}
    15         -    {-733942800 -21600 0 CST}
    16         -    {-526492800 -18000 1 CDT}
    17         -    {-513190800 -21600 0 CST}
    18         -    {-495043200 -18000 1 CDT}
    19         -    {-481741200 -21600 0 CST}
    20     14       {-462996000 -18000 1 CDT}
    21     15       {-450291600 -21600 0 CST}
    22     16       {-431539200 -18000 1 CDT}
    23     17       {-418237200 -21600 0 CST}
    24     18       {-400089600 -18000 1 CDT}
    25     19       {-386787600 -21600 0 CST}
    26     20       {-368640000 -18000 1 CDT}
    27     21       {-355338000 -21600 0 CST}
    28     22       {-337190400 -18000 1 CDT}
    29     23       {-323888400 -21600 0 CST}
    30     24       {-305740800 -18000 1 CDT}
    31         -    {-289414800 -21600 0 CST}
           25  +    {-292438800 -21600 0 CST}
    32     26       {-273686400 -18000 1 CDT}
    33         -    {-260989200 -21600 0 CST}
           27  +    {-257965200 -21600 0 CST}
    34     28       {-242236800 -18000 1 CDT}
    35     29       {-226515600 -21600 0 CST}
    36     30       {-210787200 -18000 1 CDT}
    37     31       {-195066000 -21600 0 CST}
    38     32       {-179337600 -18000 0 EST}
    39         -    {-31518000 -18000 0 EST}
    40         -    {-21488400 -14400 1 EDT}
           33  +    {-68662800 -21600 0 CST}
           34  +    {-52934400 -18000 1 CDT}
           35  +    {-37213200 -21600 0 CST}
           36  +    {-21484800 -14400 0 EDT}
    41     37       {-5767200 -18000 0 EST}
    42     38       {9961200 -14400 1 EDT}
    43     39       {25682400 -18000 0 EST}
    44     40       {31554000 -18000 0 EST}
    45     41       {1143961200 -21600 0 CST}
    46     42       {1143964800 -18000 1 CDT}
    47     43       {1162105200 -21600 0 CST}

Changes to jni/tcl/library/tzdata/America/Kentucky/Louisville.

    13     13       {-905097600 -18000 1 CDT}
    14     14       {-891795600 -21600 0 CST}
    15     15       {-883591200 -21600 0 CST}
    16     16       {-880214400 -18000 1 CWT}
    17     17       {-769395600 -18000 1 CPT}
    18     18       {-765392400 -21600 0 CST}
    19     19       {-757360800 -21600 0 CST}
    20         -    {-747244800 -18000 1 CDT}
           20  +    {-747251940 -18000 1 CDT}
    21     21       {-744224400 -21600 0 CST}
    22         -    {-715795200 -18000 1 CDT}
    23         -    {-684349200 -18000 1 CDT}
    24         -    {-652899600 -18000 1 CDT}
    25         -    {-620845200 -18000 1 CDT}
           22  +    {-620841600 -18000 1 CDT}
    26     23       {-608144400 -21600 0 CST}
    27     24       {-589392000 -18000 1 CDT}
    28     25       {-576090000 -21600 0 CST}
    29     26       {-557942400 -18000 1 CDT}
    30     27       {-544640400 -21600 0 CST}
    31     28       {-526492800 -18000 1 CDT}
    32     29       {-513190800 -21600 0 CST}
................................................................................
    41     38       {-368640000 -18000 1 CDT}
    42     39       {-352918800 -21600 0 CST}
    43     40       {-337190400 -18000 1 CDT}
    44     41       {-321469200 -21600 0 CST}
    45     42       {-305740800 -18000 1 CDT}
    46     43       {-289414800 -21600 0 CST}
    47     44       {-273686400 -18000 1 CDT}
    48         -    {-266432400 -18000 0 EST}
           45  +    {-266428800 -18000 0 EST}
    49     46       {-63140400 -18000 0 EST}
    50     47       {-52938000 -14400 1 EDT}
    51     48       {-37216800 -18000 0 EST}
    52     49       {-21488400 -14400 1 EDT}
    53     50       {-5767200 -18000 0 EST}
    54     51       {9961200 -14400 1 EDT}
    55     52       {25682400 -18000 0 EST}

Changes to jni/tcl/library/tzdata/America/Vancouver.

     5      5       {-2713880852 -28800 0 PST}
     6      6       {-1632060000 -25200 1 PDT}
     7      7       {-1615129200 -28800 0 PST}
     8      8       {-880207200 -25200 1 PWT}
     9      9       {-769395600 -25200 1 PPT}
    10     10       {-765385200 -28800 0 PST}
    11     11       {-747237600 -25200 1 PDT}
    12         -    {-732726000 -28800 0 PST}
           12  +    {-733935600 -28800 0 PST}
    13     13       {-715788000 -25200 1 PDT}
    14     14       {-702486000 -28800 0 PST}
    15     15       {-684338400 -25200 1 PDT}
    16     16       {-671036400 -28800 0 PST}
    17     17       {-652888800 -25200 1 PDT}
    18     18       {-639586800 -28800 0 PST}
    19     19       {-620834400 -25200 1 PDT}

Changes to jni/tcl/library/tzdata/Asia/Hong_Kong.

     1      1   # created by tools/tclZIC.tcl - do not edit
     2      2   
     3      3   set TZData(:Asia/Hong_Kong) {
     4      4       {-9223372036854775808 27402 0 LMT}
     5      5       {-2056690800 28800 0 HKT}
     6      6       {-900910800 32400 1 HKST}
     7         -    {-891579600 30600 0 HKT}
            7  +    {-891579600 30600 1 HKWT}
     8      8       {-884248200 32400 0 JST}
     9      9       {-761209200 28800 0 HKT}
    10     10       {-747907200 32400 1 HKST}
    11     11       {-728541000 28800 0 HKT}
    12     12       {-717049800 32400 1 HKST}
    13     13       {-697091400 28800 0 HKT}
    14     14       {-683785800 32400 1 HKST}

Changes to jni/tcl/library/tzdata/Asia/Seoul.

     1      1   # created by tools/tclZIC.tcl - do not edit
     2      2   
     3      3   set TZData(:Asia/Seoul) {
     4      4       {-9223372036854775808 30472 0 LMT}
     5      5       {-1948782472 30600 0 KST}
     6      6       {-1830414600 32400 0 JST}
     7      7       {-767350800 32400 0 KST}
            8  +    {-681210000 36000 1 KDT}
            9  +    {-672228000 32400 0 KST}
           10  +    {-654771600 36000 1 KDT}
           11  +    {-640864800 32400 0 KST}
           12  +    {-623408400 36000 1 KDT}
           13  +    {-609415200 32400 0 KST}
           14  +    {-588848400 36000 1 KDT}
           15  +    {-577965600 32400 0 KST}
     8     16       {-498128400 30600 0 KST}
     9     17       {-462702600 34200 1 KDT}
    10     18       {-451733400 30600 0 KST}
    11     19       {-429784200 34200 1 KDT}
    12     20       {-418296600 30600 0 KST}
    13     21       {-399544200 34200 1 KDT}
    14     22       {-387451800 30600 0 KST}

Changes to jni/tcl/library/tzdata/Europe/Brussels.

     1      1   # created by tools/tclZIC.tcl - do not edit
     2      2   
     3      3   set TZData(:Europe/Brussels) {
     4      4       {-9223372036854775808 1050 0 LMT}
     5      5       {-2840141850 1050 0 BMT}
     6         -    {-2450953050 0 0 WET}
            6  +    {-2450995200 0 0 WET}
     7      7       {-1740355200 3600 0 CET}
     8      8       {-1693702800 7200 0 CEST}
     9      9       {-1680483600 3600 0 CET}
    10     10       {-1663455600 7200 1 CEST}
    11     11       {-1650150000 3600 0 CET}
    12     12       {-1632006000 7200 1 CEST}
    13     13       {-1618700400 3600 0 CET}

Changes to jni/tcl/library/tzdata/Europe/Istanbul.

    12     12       {-1522551600 7200 0 EET}
    13     13       {-1507514400 10800 1 EEST}
    14     14       {-1490583600 7200 0 EET}
    15     15       {-1440208800 10800 1 EEST}
    16     16       {-1428030000 7200 0 EET}
    17     17       {-1409709600 10800 1 EEST}
    18     18       {-1396494000 7200 0 EET}
    19         -    {-931140000 10800 1 EEST}
    20         -    {-922762800 7200 0 EET}
           19  +    {-931053600 10800 1 EEST}
           20  +    {-922676400 7200 0 EET}
    21     21       {-917834400 10800 1 EEST}
    22     22       {-892436400 7200 0 EET}
    23     23       {-875844000 10800 1 EEST}
    24         -    {-857358000 7200 0 EET}
    25         -    {-781063200 10800 1 EEST}
    26     24       {-764737200 7200 0 EET}
    27     25       {-744343200 10800 1 EEST}
    28     26       {-733806000 7200 0 EET}
    29     27       {-716436000 10800 1 EEST}
    30     28       {-701924400 7200 0 EET}
    31     29       {-684986400 10800 1 EEST}
    32     30       {-670474800 7200 0 EET}
    33     31       {-654141600 10800 1 EEST}
    34     32       {-639025200 7200 0 EET}
    35         -    {-621828000 10800 1 EEST}
           33  +    {-622087200 10800 1 EEST}
    36     34       {-606970800 7200 0 EET}
    37     35       {-590032800 10800 1 EEST}
    38         -    {-575434800 7200 0 EET}
           36  +    {-575521200 7200 0 EET}
    39     37       {-235620000 10800 1 EEST}
    40         -    {-228279600 7200 0 EET}
           38  +    {-194842800 7200 0 EET}
    41     39       {-177732000 10800 1 EEST}
    42     40       {-165726000 7200 0 EET}
    43         -    {10533600 10800 1 EEST}
    44         -    {23835600 7200 0 EET}
    45         -    {41983200 10800 1 EEST}
    46         -    {55285200 7200 0 EET}
    47         -    {74037600 10800 1 EEST}
    48         -    {87339600 7200 0 EET}
    49     41       {107910000 10800 1 EEST}
    50         -    {121219200 7200 0 EET}
           42  +    {121215600 7200 0 EET}
    51     43       {133920000 10800 1 EEST}
    52         -    {152676000 7200 0 EET}
    53         -    {165362400 10800 1 EEST}
    54         -    {183502800 7200 0 EET}
    55         -    {202428000 10800 1 EEST}
    56         -    {215557200 7200 0 EET}
    57         -    {228866400 10800 1 EEST}
    58         -    {245797200 7200 0 EET}
    59         -    {260316000 10800 1 EEST}
    60         -    {277246800 14400 0 +04}
    61         -    {291769200 14400 1 +04}
    62         -    {308779200 10800 0 +03}
    63         -    {323827200 14400 1 +04}
    64         -    {340228800 10800 0 +03}
    65         -    {354672000 14400 1 +04}
    66         -    {371678400 10800 0 +03}
    67         -    {386121600 14400 1 +04}
    68         -    {403128000 10800 0 +03}
    69         -    {428446800 14400 1 +04}
    70         -    {433886400 10800 0 +03}
    71         -    {482792400 7200 0 EET}
    72         -    {482796000 10800 1 EEST}
    73         -    {496702800 7200 0 EET}
           44  +    {152665200 7200 0 EET}
           45  +    {164678400 10800 1 EEST}
           46  +    {184114800 7200 0 EET}
           47  +    {196214400 10800 1 EEST}
           48  +    {215564400 7200 0 EET}
           49  +    {228873600 10800 1 EEST}
           50  +    {245804400 7200 0 EET}
           51  +    {260323200 10800 1 EEST}
           52  +    {267919200 10800 0 +03}
           53  +    {277254000 10800 0 +03}
           54  +    {428454000 14400 1 +04}
           55  +    {433893600 10800 0 +03}
           56  +    {468111600 7200 0 EET}
           57  +    {482799600 10800 1 EEST}
           58  +    {496710000 7200 0 EET}
    74     59       {512521200 10800 1 EEST}
    75     60       {528246000 7200 0 EET}
    76     61       {543970800 10800 1 EEST}
    77     62       {559695600 7200 0 EET}
    78     63       {575420400 10800 1 EEST}
    79     64       {591145200 7200 0 EET}
    80     65       {606870000 10800 1 EEST}

Changes to jni/tcl/library/tzdata/Europe/Kaliningrad.

    11     11       {-1618700400 3600 0 CET}
    12     12       {-938905200 7200 1 CEST}
    13     13       {-857257200 3600 0 CET}
    14     14       {-844556400 7200 1 CEST}
    15     15       {-828226800 3600 0 CET}
    16     16       {-812502000 7200 1 CEST}
    17     17       {-796777200 3600 0 CET}
    18         -    {-788922000 7200 0 CET}
    19         -    {-778730400 10800 1 CEST}
    20         -    {-762663600 7200 0 CET}
    21         -    {-757389600 10800 0 MSD}
           18  +    {-781052400 7200 1 CEST}
           19  +    {-780368400 7200 0 EET}
           20  +    {-778730400 10800 1 EEST}
           21  +    {-762663600 7200 0 EET}
           22  +    {-749095200 10800 0 MSD}
    22     23       {354920400 14400 1 MSD}
    23     24       {370728000 10800 0 MSK}
    24     25       {386456400 14400 1 MSD}
    25     26       {402264000 10800 0 MSK}
    26     27       {417992400 14400 1 MSD}
    27     28       {433800000 10800 0 MSK}
    28     29       {449614800 14400 1 MSD}

Changes to jni/tcl/library/tzdata/Europe/Vienna.

    18     18       {-828226800 3600 0 CET}
    19     19       {-812502000 7200 1 CEST}
    20     20       {-796777200 3600 0 CET}
    21     21       {-781052400 7200 1 CEST}
    22     22       {-780188400 3600 0 CET}
    23     23       {-757386000 3600 0 CET}
    24     24       {-748479600 7200 1 CEST}
    25         -    {-733359600 3600 0 CET}
           25  +    {-733273200 3600 0 CET}
    26     26       {-717634800 7200 1 CEST}
    27     27       {-701910000 3600 0 CET}
    28     28       {-684975600 7200 1 CEST}
    29     29       {-670460400 3600 0 CET}
    30     30       {323823600 7200 1 CEST}
    31     31       {338940000 3600 0 CET}
    32     32       {347151600 3600 0 CET}

Changes to jni/tcl/library/tzdata/Pacific/Fiji.

    23     23       {1452952800 43200 0 +12}
    24     24       {1478354400 46800 1 +12}
    25     25       {1484402400 43200 0 +12}
    26     26       {1509804000 46800 1 +12}
    27     27       {1515852000 43200 0 +12}
    28     28       {1541253600 46800 1 +12}
    29     29       {1547301600 43200 0 +12}
    30         -    {1572703200 46800 1 +12}
    31         -    {1579356000 43200 0 +12}
    32         -    {1604152800 46800 1 +12}
           30  +    {1573308000 46800 1 +12}
           31  +    {1578751200 43200 0 +12}
           32  +    {1604757600 46800 1 +12}
    33     33       {1610805600 43200 0 +12}
    34         -    {1636207200 46800 1 +12}
           34  +    {1636812000 46800 1 +12}
    35     35       {1642255200 43200 0 +12}
    36         -    {1667656800 46800 1 +12}
           36  +    {1668261600 46800 1 +12}
    37     37       {1673704800 43200 0 +12}
    38         -    {1699106400 46800 1 +12}
           38  +    {1699711200 46800 1 +12}
    39     39       {1705154400 43200 0 +12}
    40         -    {1730556000 46800 1 +12}
    41         -    {1737208800 43200 0 +12}
    42         -    {1762005600 46800 1 +12}
           40  +    {1731160800 46800 1 +12}
           41  +    {1736604000 43200 0 +12}
           42  +    {1762610400 46800 1 +12}
    43     43       {1768658400 43200 0 +12}
    44         -    {1793455200 46800 1 +12}
           44  +    {1794060000 46800 1 +12}
    45     45       {1800108000 43200 0 +12}
    46         -    {1825509600 46800 1 +12}
           46  +    {1826114400 46800 1 +12}
    47     47       {1831557600 43200 0 +12}
    48         -    {1856959200 46800 1 +12}
           48  +    {1857564000 46800 1 +12}
    49     49       {1863007200 43200 0 +12}
    50         -    {1888408800 46800 1 +12}
           50  +    {1889013600 46800 1 +12}
    51     51       {1894456800 43200 0 +12}
    52         -    {1919858400 46800 1 +12}
    53         -    {1926511200 43200 0 +12}
    54         -    {1951308000 46800 1 +12}
           52  +    {1920463200 46800 1 +12}
           53  +    {1925906400 43200 0 +12}
           54  +    {1951912800 46800 1 +12}
    55     55       {1957960800 43200 0 +12}
    56         -    {1983362400 46800 1 +12}
           56  +    {1983967200 46800 1 +12}
    57     57       {1989410400 43200 0 +12}
    58         -    {2014812000 46800 1 +12}
           58  +    {2015416800 46800 1 +12}
    59     59       {2020860000 43200 0 +12}
    60         -    {2046261600 46800 1 +12}
           60  +    {2046866400 46800 1 +12}
    61     61       {2052309600 43200 0 +12}
    62         -    {2077711200 46800 1 +12}
           62  +    {2078316000 46800 1 +12}
    63     63       {2083759200 43200 0 +12}
    64         -    {2109160800 46800 1 +12}
           64  +    {2109765600 46800 1 +12}
    65     65       {2115813600 43200 0 +12}
    66         -    {2140610400 46800 1 +12}
           66  +    {2141215200 46800 1 +12}
    67     67       {2147263200 43200 0 +12}
    68         -    {2172664800 46800 1 +12}
           68  +    {2173269600 46800 1 +12}
    69     69       {2178712800 43200 0 +12}
    70         -    {2204114400 46800 1 +12}
           70  +    {2204719200 46800 1 +12}
    71     71       {2210162400 43200 0 +12}
    72         -    {2235564000 46800 1 +12}
           72  +    {2236168800 46800 1 +12}
    73     73       {2241612000 43200 0 +12}
    74         -    {2267013600 46800 1 +12}
    75         -    {2273666400 43200 0 +12}
    76         -    {2298463200 46800 1 +12}
           74  +    {2267618400 46800 1 +12}
           75  +    {2273061600 43200 0 +12}
           76  +    {2299068000 46800 1 +12}
    77     77       {2305116000 43200 0 +12}
    78         -    {2329912800 46800 1 +12}
           78  +    {2330517600 46800 1 +12}
    79     79       {2336565600 43200 0 +12}
    80         -    {2361967200 46800 1 +12}
           80  +    {2362572000 46800 1 +12}
    81     81       {2368015200 43200 0 +12}
    82         -    {2393416800 46800 1 +12}
           82  +    {2394021600 46800 1 +12}
    83     83       {2399464800 43200 0 +12}
    84         -    {2424866400 46800 1 +12}
           84  +    {2425471200 46800 1 +12}
    85     85       {2430914400 43200 0 +12}
    86         -    {2456316000 46800 1 +12}
    87         -    {2462968800 43200 0 +12}
    88         -    {2487765600 46800 1 +12}
           86  +    {2456920800 46800 1 +12}
           87  +    {2462364000 43200 0 +12}
           88  +    {2488370400 46800 1 +12}
    89     89       {2494418400 43200 0 +12}
    90         -    {2519820000 46800 1 +12}
           90  +    {2520424800 46800 1 +12}
    91     91       {2525868000 43200 0 +12}
    92         -    {2551269600 46800 1 +12}
           92  +    {2551874400 46800 1 +12}
    93     93       {2557317600 43200 0 +12}
    94         -    {2582719200 46800 1 +12}
           94  +    {2583324000 46800 1 +12}
    95     95       {2588767200 43200 0 +12}
    96         -    {2614168800 46800 1 +12}
    97         -    {2620821600 43200 0 +12}
    98         -    {2645618400 46800 1 +12}
           96  +    {2614773600 46800 1 +12}
           97  +    {2620216800 43200 0 +12}
           98  +    {2646223200 46800 1 +12}
    99     99       {2652271200 43200 0 +12}
   100         -    {2677068000 46800 1 +12}
          100  +    {2677672800 46800 1 +12}
   101    101       {2683720800 43200 0 +12}
   102         -    {2709122400 46800 1 +12}
          102  +    {2709727200 46800 1 +12}
   103    103       {2715170400 43200 0 +12}
   104         -    {2740572000 46800 1 +12}
          104  +    {2741176800 46800 1 +12}
   105    105       {2746620000 43200 0 +12}
   106         -    {2772021600 46800 1 +12}
          106  +    {2772626400 46800 1 +12}
   107    107       {2778069600 43200 0 +12}
   108         -    {2803471200 46800 1 +12}
   109         -    {2810124000 43200 0 +12}
   110         -    {2834920800 46800 1 +12}
          108  +    {2804076000 46800 1 +12}
          109  +    {2809519200 43200 0 +12}
          110  +    {2835525600 46800 1 +12}
   111    111       {2841573600 43200 0 +12}
   112         -    {2866975200 46800 1 +12}
          112  +    {2867580000 46800 1 +12}
   113    113       {2873023200 43200 0 +12}
   114         -    {2898424800 46800 1 +12}
          114  +    {2899029600 46800 1 +12}
   115    115       {2904472800 43200 0 +12}
   116         -    {2929874400 46800 1 +12}
          116  +    {2930479200 46800 1 +12}
   117    117       {2935922400 43200 0 +12}
   118         -    {2961324000 46800 1 +12}
          118  +    {2961928800 46800 1 +12}
   119    119       {2967372000 43200 0 +12}
   120         -    {2992773600 46800 1 +12}
          120  +    {2993378400 46800 1 +12}
   121    121       {2999426400 43200 0 +12}
   122         -    {3024223200 46800 1 +12}
          122  +    {3024828000 46800 1 +12}
   123    123       {3030876000 43200 0 +12}
   124         -    {3056277600 46800 1 +12}
          124  +    {3056882400 46800 1 +12}
   125    125       {3062325600 43200 0 +12}
   126         -    {3087727200 46800 1 +12}
          126  +    {3088332000 46800 1 +12}
   127    127       {3093775200 43200 0 +12}
   128         -    {3119176800 46800 1 +12}
          128  +    {3119781600 46800 1 +12}
   129    129       {3125224800 43200 0 +12}
   130         -    {3150626400 46800 1 +12}
   131         -    {3157279200 43200 0 +12}
   132         -    {3182076000 46800 1 +12}
          130  +    {3151231200 46800 1 +12}
          131  +    {3156674400 43200 0 +12}
          132  +    {3182680800 46800 1 +12}
   133    133       {3188728800 43200 0 +12}
   134         -    {3213525600 46800 1 +12}
          134  +    {3214130400 46800 1 +12}
   135    135       {3220178400 43200 0 +12}
   136         -    {3245580000 46800 1 +12}
          136  +    {3246184800 46800 1 +12}
   137    137       {3251628000 43200 0 +12}
   138         -    {3277029600 46800 1 +12}
          138  +    {3277634400 46800 1 +12}
   139    139       {3283077600 43200 0 +12}
   140         -    {3308479200 46800 1 +12}
          140  +    {3309084000 46800 1 +12}
   141    141       {3314527200 43200 0 +12}
   142         -    {3339928800 46800 1 +12}
   143         -    {3346581600 43200 0 +12}
   144         -    {3371378400 46800 1 +12}
          142  +    {3340533600 46800 1 +12}
          143  +    {3345976800 43200 0 +12}
          144  +    {3371983200 46800 1 +12}
   145    145       {3378031200 43200 0 +12}
   146         -    {3403432800 46800 1 +12}
          146  +    {3404037600 46800 1 +12}
   147    147       {3409480800 43200 0 +12}
   148         -    {3434882400 46800 1 +12}
          148  +    {3435487200 46800 1 +12}
   149    149       {3440930400 43200 0 +12}
   150         -    {3466332000 46800 1 +12}
          150  +    {3466936800 46800 1 +12}
   151    151       {3472380000 43200 0 +12}
   152         -    {3497781600 46800 1 +12}
   153         -    {3504434400 43200 0 +12}
   154         -    {3529231200 46800 1 +12}
          152  +    {3498386400 46800 1 +12}
          153  +    {3503829600 43200 0 +12}
          154  +    {3529836000 46800 1 +12}
   155    155       {3535884000 43200 0 +12}
   156         -    {3560680800 46800 1 +12}
          156  +    {3561285600 46800 1 +12}
   157    157       {3567333600 43200 0 +12}
   158         -    {3592735200 46800 1 +12}
          158  +    {3593340000 46800 1 +12}
   159    159       {3598783200 43200 0 +12}
   160         -    {3624184800 46800 1 +12}
          160  +    {3624789600 46800 1 +12}
   161    161       {3630232800 43200 0 +12}
   162         -    {3655634400 46800 1 +12}
          162  +    {3656239200 46800 1 +12}
   163    163       {3661682400 43200 0 +12}
   164         -    {3687084000 46800 1 +12}
   165         -    {3693736800 43200 0 +12}
   166         -    {3718533600 46800 1 +12}
          164  +    {3687688800 46800 1 +12}
          165  +    {3693132000 43200 0 +12}
          166  +    {3719138400 46800 1 +12}
   167    167       {3725186400 43200 0 +12}
   168         -    {3750588000 46800 1 +12}
          168  +    {3751192800 46800 1 +12}
   169    169       {3756636000 43200 0 +12}
   170         -    {3782037600 46800 1 +12}
          170  +    {3782642400 46800 1 +12}
   171    171       {3788085600 43200 0 +12}
   172         -    {3813487200 46800 1 +12}
          172  +    {3814092000 46800 1 +12}
   173    173       {3819535200 43200 0 +12}
   174         -    {3844936800 46800 1 +12}
          174  +    {3845541600 46800 1 +12}
   175    175       {3850984800 43200 0 +12}
   176         -    {3876386400 46800 1 +12}
          176  +    {3876991200 46800 1 +12}
   177    177       {3883039200 43200 0 +12}
   178         -    {3907836000 46800 1 +12}
          178  +    {3908440800 46800 1 +12}
   179    179       {3914488800 43200 0 +12}
   180         -    {3939890400 46800 1 +12}
          180  +    {3940495200 46800 1 +12}
   181    181       {3945938400 43200 0 +12}
   182         -    {3971340000 46800 1 +12}
          182  +    {3971944800 46800 1 +12}
   183    183       {3977388000 43200 0 +12}
   184         -    {4002789600 46800 1 +12}
          184  +    {4003394400 46800 1 +12}
   185    185       {4008837600 43200 0 +12}
   186         -    {4034239200 46800 1 +12}
   187         -    {4040892000 43200 0 +12}
   188         -    {4065688800 46800 1 +12}
          186  +    {4034844000 46800 1 +12}
          187  +    {4040287200 43200 0 +12}
          188  +    {4066293600 46800 1 +12}
   189    189       {4072341600 43200 0 +12}
   190         -    {4097138400 46800 1 +12}
          190  +    {4097743200 46800 1 +12}
   191    191   }

Changes to jni/tcl/library/tzdata/Pacific/Norfolk.

     1      1   # created by tools/tclZIC.tcl - do not edit
     2      2   
     3      3   set TZData(:Pacific/Norfolk) {
     4      4       {-9223372036854775808 40312 0 LMT}
     5      5       {-2177493112 40320 0 +1112}
     6      6       {-599656320 41400 0 +1130}
     7      7       {152029800 45000 1 +1230}
     8         -    {162912600 41400 0 +1130}
            8  +    {162916200 41400 0 +1130}
     9      9       {1443882600 39600 0 +11}
           10  +    {1561899600 39600 0 +12}
           11  +    {1570287600 43200 1 +12}
           12  +    {1586012400 39600 0 +12}
           13  +    {1601737200 43200 1 +12}
           14  +    {1617462000 39600 0 +12}
           15  +    {1633186800 43200 1 +12}
           16  +    {1648911600 39600 0 +12}
           17  +    {1664636400 43200 1 +12}
           18  +    {1680361200 39600 0 +12}
           19  +    {1696086000 43200 1 +12}
           20  +    {1712415600 39600 0 +12}
           21  +    {1728140400 43200 1 +12}
           22  +    {1743865200 39600 0 +12}
           23  +    {1759590000 43200 1 +12}
           24  +    {1775314800 39600 0 +12}
           25  +    {1791039600 43200 1 +12}
           26  +    {1806764400 39600 0 +12}
           27  +    {1822489200 43200 1 +12}
           28  +    {1838214000 39600 0 +12}
           29  +    {1853938800 43200 1 +12}
           30  +    {1869663600 39600 0 +12}
           31  +    {1885993200 43200 1 +12}
           32  +    {1901718000 39600 0 +12}
           33  +    {1917442800 43200 1 +12}
           34  +    {1933167600 39600 0 +12}
           35  +    {1948892400 43200 1 +12}
           36  +    {1964617200 39600 0 +12}
           37  +    {1980342000 43200 1 +12}
           38  +    {1996066800 39600 0 +12}
           39  +    {2011791600 43200 1 +12}
           40  +    {2027516400 39600 0 +12}
           41  +    {2043241200 43200 1 +12}
           42  +    {2058966000 39600 0 +12}
           43  +    {2075295600 43200 1 +12}
           44  +    {2091020400 39600 0 +12}
           45  +    {2106745200 43200 1 +12}
           46  +    {2122470000 39600 0 +12}
           47  +    {2138194800 43200 1 +12}
           48  +    {2153919600 39600 0 +12}
           49  +    {2169644400 43200 1 +12}
           50  +    {2185369200 39600 0 +12}
           51  +    {2201094000 43200 1 +12}
           52  +    {2216818800 39600 0 +12}
           53  +    {2233148400 43200 1 +12}
           54  +    {2248873200 39600 0 +12}
           55  +    {2264598000 43200 1 +12}
           56  +    {2280322800 39600 0 +12}
           57  +    {2296047600 43200 1 +12}
           58  +    {2311772400 39600 0 +12}
           59  +    {2327497200 43200 1 +12}
           60  +    {2343222000 39600 0 +12}
           61  +    {2358946800 43200 1 +12}
           62  +    {2374671600 39600 0 +12}
           63  +    {2390396400 43200 1 +12}
           64  +    {2406121200 39600 0 +12}
           65  +    {2422450800 43200 1 +12}
           66  +    {2438175600 39600 0 +12}
           67  +    {2453900400 43200 1 +12}
           68  +    {2469625200 39600 0 +12}
           69  +    {2485350000 43200 1 +12}
           70  +    {2501074800 39600 0 +12}
           71  +    {2516799600 43200 1 +12}
           72  +    {2532524400 39600 0 +12}
           73  +    {2548249200 43200 1 +12}
           74  +    {2563974000 39600 0 +12}
           75  +    {2579698800 43200 1 +12}
           76  +    {2596028400 39600 0 +12}
           77  +    {2611753200 43200 1 +12}
           78  +    {2627478000 39600 0 +12}
           79  +    {2643202800 43200 1 +12}
           80  +    {2658927600 39600 0 +12}
           81  +    {2674652400 43200 1 +12}
           82  +    {2690377200 39600 0 +12}
           83  +    {2706102000 43200 1 +12}
           84  +    {2721826800 39600 0 +12}
           85  +    {2737551600 43200 1 +12}
           86  +    {2753276400 39600 0 +12}
           87  +    {2769606000 43200 1 +12}
           88  +    {2785330800 39600 0 +12}
           89  +    {2801055600 43200 1 +12}
           90  +    {2816780400 39600 0 +12}
           91  +    {2832505200 43200 1 +12}
           92  +    {2848230000 39600 0 +12}
           93  +    {2863954800 43200 1 +12}
           94  +    {2879679600 39600 0 +12}
           95  +    {2895404400 43200 1 +12}
           96  +    {2911129200 39600 0 +12}
           97  +    {2926854000 43200 1 +12}
           98  +    {2942578800 39600 0 +12}
           99  +    {2958908400 43200 1 +12}
          100  +    {2974633200 39600 0 +12}
          101  +    {2990358000 43200 1 +12}
          102  +    {3006082800 39600 0 +12}
          103  +    {3021807600 43200 1 +12}
          104  +    {3037532400 39600 0 +12}
          105  +    {3053257200 43200 1 +12}
          106  +    {3068982000 39600 0 +12}
          107  +    {3084706800 43200 1 +12}
          108  +    {3100431600 39600 0 +12}
          109  +    {3116761200 43200 1 +12}
          110  +    {3132486000 39600 0 +12}
          111  +    {3148210800 43200 1 +12}
          112  +    {3163935600 39600 0 +12}
          113  +    {3179660400 43200 1 +12}
          114  +    {3195385200 39600 0 +12}
          115  +    {3211110000 43200 1 +12}
          116  +    {3226834800 39600 0 +12}
          117  +    {3242559600 43200 1 +12}
          118  +    {3258284400 39600 0 +12}
          119  +    {3274009200 43200 1 +12}
          120  +    {3289734000 39600 0 +12}
          121  +    {3306063600 43200 1 +12}
          122  +    {3321788400 39600 0 +12}
          123  +    {3337513200 43200 1 +12}
          124  +    {3353238000 39600 0 +12}
          125  +    {3368962800 43200 1 +12}
          126  +    {3384687600 39600 0 +12}
          127  +    {3400412400 43200 1 +12}
          128  +    {3416137200 39600 0 +12}
          129  +    {3431862000 43200 1 +12}
          130  +    {3447586800 39600 0 +12}
          131  +    {3463311600 43200 1 +12}
          132  +    {3479641200 39600 0 +12}
          133  +    {3495366000 43200 1 +12}
          134  +    {3511090800 39600 0 +12}
          135  +    {3526815600 43200 1 +12}
          136  +    {3542540400 39600 0 +12}
          137  +    {3558265200 43200 1 +12}
          138  +    {3573990000 39600 0 +12}
          139  +    {3589714800 43200 1 +12}
          140  +    {3605439600 39600 0 +12}
          141  +    {3621164400 43200 1 +12}
          142  +    {3636889200 39600 0 +12}
          143  +    {3653218800 43200 1 +12}
          144  +    {3668943600 39600 0 +12}
          145  +    {3684668400 43200 1 +12}
          146  +    {3700393200 39600 0 +12}
          147  +    {3716118000 43200 1 +12}
          148  +    {3731842800 39600 0 +12}
          149  +    {3747567600 43200 1 +12}
          150  +    {3763292400 39600 0 +12}
          151  +    {3779017200 43200 1 +12}
          152  +    {3794742000 39600 0 +12}
          153  +    {3810466800 43200 1 +12}
          154  +    {3826191600 39600 0 +12}
          155  +    {3842521200 43200 1 +12}
          156  +    {3858246000 39600 0 +12}
          157  +    {3873970800 43200 1 +12}
          158  +    {3889695600 39600 0 +12}
          159  +    {3905420400 43200 1 +12}
          160  +    {3921145200 39600 0 +12}
          161  +    {3936870000 43200 1 +12}
          162  +    {3952594800 39600 0 +12}
          163  +    {3968319600 43200 1 +12}
          164  +    {3984044400 39600 0 +12}
          165  +    {4000374000 43200 1 +12}
          166  +    {4016098800 39600 0 +12}
          167  +    {4031823600 43200 1 +12}
          168  +    {4047548400 39600 0 +12}
          169  +    {4063273200 43200 1 +12}
          170  +    {4078998000 39600 0 +12}
          171  +    {4094722800 43200 1 +12}
    10    172   }

Changes to jni/tcl/tests/compile.test.

   464    464       append body {]; puts OK}
   465    465       regsub BODY {proc crash {} {BODY}; crash} $body script
   466    466       list [catch {exec [interpreter] << $script} msg] $msg
   467    467   } {0 OK}
   468    468   
   469    469   # Tests of nested compile (body in body compilation), should not generate stack overflow
   470    470   # (with abnormal program termination), bug [fec0c17d39]:
   471         -test compile-13.2 {TclCompileScript: testing nested scripts compilation} -setup {
   472         -    set i [interp create]
   473         -    interp recursionlimit $i [expr {10000+50}]
   474         -    $i eval {proc gencode {nr {cmd eval} {nl 0}} {
          471  +proc _ti_gencode {} {
          472  +    # creates test interpreter on demand with [gencode] generator:
          473  +    if {[interp exists ti]} {
          474  +	return
          475  +    }
          476  +    interp create ti
          477  +    ti eval {proc gencode {nr {cmd eval} {nl 0}} {
   475    478   	set code ""
   476    479   	set e ""; if {$nl} {set e "\n"}
   477    480   	for {set i 0} {$i < $nr} {incr i} {
   478    481   	    append code "$cmd \{$e"
   479    482   	}
   480    483   	append code "lappend result 1$e"
   481    484   	for {set i 0} {$i < $nr} {incr i} {
   482    485   	    append code "\}$e"
   483    486   	}
   484    487   	#puts [format "%% %.40s ... %d bytes" $code [string length $code]]
   485    488   	return $code
   486    489       }}
          490  +}
          491  +test compile-13.2 {TclCompileScript: testing expected nested scripts compilation} -setup {
          492  +    _ti_gencode
          493  +    interp recursionlimit ti [expr {10000+50}]
          494  +    ti eval {set result {}}
   487    495   } -body {
   488    496       # Test different compilation variants (instructions evalStk, invokeStk, etc),
   489    497       # with 2000 (1000 in debug) nested scripts (bodies). If you get SO/SF exceptions on some low-stack
   490    498       # boxes or systems, please don't decrease it (either provide a constraint)
   491         -    $i eval {foreach cmd {eval "if 1" try catch} {
          499  +    ti eval {foreach cmd {eval "if 1" try catch} {
   492    500   	set c [gencode [expr {![::tcl::pkgconfig get debug] ? 2000 : 1000}] $cmd]
   493    501   	if 1 $c
   494    502       }}
   495         -    $i eval {set result}
   496         -} -result {1 1 1 1} -cleanup {
   497         -    interp delete $i
          503  +    ti eval {set result}
          504  +} -result {1 1 1 1}
          505  +test compile-13.3 {TclCompileScript: testing check of max depth by nested scripts compilation} -setup {
          506  +    _ti_gencode
          507  +    interp recursionlimit ti 100
          508  +    ti eval {set result {}}
          509  +} -body {
          510  +    # Test different compilation variants (instructions evalStk, invokeStk, etc),
          511  +    # with 500 nested scripts (bodies). It must generate "too many nested compilations" 
          512  +    # error for any variant we're testing here:
          513  +    ti eval {foreach cmd {eval "if 1" try catch} {
          514  +	set c [gencode [expr {![info exists ::tcl_platform(debug)] ? 2000 : 1000}] $cmd]
          515  +	lappend errors [catch $c e] $e
          516  +    }}
          517  +    #puts $errors
          518  +    # all of nested calls exceed the limit, so must end with "too many nested compilations"
          519  +    # (or evaluations, depending on compile method/instruction and "mixed" compile within 
          520  +    # evaliation), so no one succeeds, the result must be empty:
          521  +    ti eval {set result}
          522  +} -result {}
          523  +#
          524  +# clean up:
          525  +if {[interp exists ti]} {
          526  +    interp delete ti
   498    527   }
          528  +rename _ti_gencode {}
   499    529   
   500    530   # Tests compile-14.* for [Bug 599788] [Bug 0c043a175a47da8c2342]
   501    531   test compile-14.1 {testing errors in element name; segfault?} {} {
   502    532        catch {set a([error])} msg1
   503    533        catch {set bubba([join $abba $jubba]) $vol} msg2
   504    534        list $msg1 $msg2
   505    535   } {{wrong # args: should be "error message ?errorInfo? ?errorCode?"} {can't read "abba": no such variable}}