Mon Apr 7 15:16:40 2008 UTC ()
Update to version 8.4.18.  Distilled list of non-Windows changes:

	* generic/tclInterp.c (Tcl_GetAlias): fix for [Bug 1882373]

	* generic/regguts.h, generic/regc_color.c, generic/regc_nfa.c:
	Fixes for problems created when processing regular expressions that
	generate very large automata. An enormous number of thanks to Will
	Drewry <wad@google.com>, Tavis Ormandy <taviso@google.com>, and Tom
	Lane <tgl@sss.pgh.pa.us> from the Postgresql crowd for their help in
	tracking these problems down. [Bug 1810264]

	* unix/tclUnixCompat.c (TclpGetHostByName): Really applied
	the change noted on 2007-11-13 by dkf below.

	* generic/tclIOUtil.c (TclGetOpenMode): Only set the O_APPEND flag
	* tests/ioUtil.test (ioUtil-4.1):	on a channel for the 'a'
	mode and not for 'a+'. [Bug 1773127] (backport from HEAD)

	* generic/tclCmdIL.c (Tcl_LsearchObjCmd): Prevent shimmering crash
	when -exact and -integer/-real are mixed. [Bug 1844789]

	* generic/tclThread.c: Back-port locking changes from Tcl8.5
	in Tcl_Mutex/ConditionFinlize. Now we properly master-lock
	the finalization of sync primitives.

	* generic/regc_nfa.c:	Fixed infinite loop in the regexp compiler
	* generic/regcomp.c:	[Bug 1810038].  Corrected looping logic in
	* tests/regexp.test:	fixempties() to avoid wasting time walking a
	list of dead states [Bug 1832612].  Convert optst() from expensive
	no-op to a cheap no-op.  Improve newline usage in debug output.

	* unix/tclUnixCompat.c (TclpGetHostByName): The six-argument form of
	getaddressbyname_r() uses the fifth argument to indicate whether the
	lookup succeeded or not on at least one platform. [Bug 1618235]

	* generic/regc_lex.c (lexescape): Ensure that backreference numbers
	can't overflow a signed int in a way that breaks things. [Bug 1810264]

	* generic/tclParse.c (Tcl_ParseBraces): fix for possible read
	after the end of buffer, [Bug 1813528] (Joe Mistachkin).

	* generic/tclObj.c (Tcl_FindCommandFromObj): fix finding a deleted
	command; cannot trigger this from Tcl itself, but crash reported
	on xotcl. This check is new to 8.4 but exists in 8.5, so this is a
	backport or something. Thanks Gustaf Neumann.

	* generic/tcl.h (Tcl_DecrRefCount): Update change from 2006-05-29
	to make macro more warning-robust in unbraced if code.


(bjs)
diff -r1.7 -r1.8 pkgsrc/lang/tcl/Makefile.version
diff -r1.41 -r1.42 pkgsrc/lang/tcl/distinfo

cvs diff -r1.7 -r1.8 pkgsrc/lang/tcl/Makefile.version (expand / switch to unified diff)

--- pkgsrc/lang/tcl/Makefile.version 2007/10/13 11:41:44 1.7
+++ pkgsrc/lang/tcl/Makefile.version 2008/04/07 15:16:40 1.8
@@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
1# $NetBSD: Makefile.version,v 1.7 2007/10/13 11:41:44 adam Exp $ 1# $NetBSD: Makefile.version,v 1.8 2008/04/07 15:16:40 bjs Exp $
2 2
3TCL_VERSION=8.4.16 3TCL_VERSION=8.4.18

cvs diff -r1.41 -r1.42 pkgsrc/lang/tcl/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/tcl/distinfo 2007/10/13 11:41:44 1.41
+++ pkgsrc/lang/tcl/distinfo 2008/04/07 15:16:40 1.42
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: distinfo,v 1.41 2007/10/13 11:41:44 adam Exp $ 1$NetBSD: distinfo,v 1.42 2008/04/07 15:16:40 bjs Exp $
2 2
3SHA1 (tcl8.4.16-src.tar.gz) = 7edc6b8eb5f49980ba9b788e12c236501327c815 3SHA1 (tcl8.4.18-src.tar.gz) = 83b04c3ad092c22507869dec3a5c7ba821f109b0
4RMD160 (tcl8.4.16-src.tar.gz) = 8432aff66525a3c3f9dadb2bd8e32c28c539d14d 4RMD160 (tcl8.4.18-src.tar.gz) = 735a9cc0575585de70cbd3cb2ff5c97d46c1dfbd
5Size (tcl8.4.16-src.tar.gz) = 3641017 bytes 5Size (tcl8.4.18-src.tar.gz) = 3653369 bytes
6SHA1 (patch-aa) = 7c04a2b24b1a6940b6dff03d9f1781e0326366b3 6SHA1 (patch-aa) = 7c04a2b24b1a6940b6dff03d9f1781e0326366b3
7SHA1 (patch-ab) = b18a9b49b54cad9512b9ab2d8f7937e4c7a4fbb4 7SHA1 (patch-ab) = b18a9b49b54cad9512b9ab2d8f7937e4c7a4fbb4
8SHA1 (patch-ac) = 3139a65c6647d806fc69765bc62aa715b49f4d41 8SHA1 (patch-ac) = 3139a65c6647d806fc69765bc62aa715b49f4d41
9SHA1 (patch-ad) = 05a945172651513e178c6f49672bb18d8c4ad3e7 9SHA1 (patch-ad) = 05a945172651513e178c6f49672bb18d8c4ad3e7
10SHA1 (patch-ae) = 7694081556a6b004db47ae54775bea0f659b8805 10SHA1 (patch-ae) = 7694081556a6b004db47ae54775bea0f659b8805
11SHA1 (patch-af) = c31ef207e26c8445f2503817c6a8b49b7593ae8f 11SHA1 (patch-af) = c31ef207e26c8445f2503817c6a8b49b7593ae8f
12SHA1 (patch-ag) = fe371866b438063515bad6d145287455c4636824 12SHA1 (patch-ag) = fe371866b438063515bad6d145287455c4636824
13SHA1 (patch-ah) = b6a68a26ed018f424e9e41bcf6f8da1517bd599a 13SHA1 (patch-ah) = b6a68a26ed018f424e9e41bcf6f8da1517bd599a
14SHA1 (patch-ai) = b0f7818adedd53a123c6ab809bbec28924b3f07b 14SHA1 (patch-ai) = b0f7818adedd53a123c6ab809bbec28924b3f07b
15SHA1 (patch-aj) = 74d5d7f0d47f39241068c98a316104da94f1cdb9 15SHA1 (patch-aj) = 74d5d7f0d47f39241068c98a316104da94f1cdb9