diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-11-16 10:16:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-11-16 10:16:18 (GMT) |
commit | 7655c307f652206c12c3b5b2b2dd4953c12c5384 (patch) | |
tree | d1228156a1605cc574c7e8635fef3e781f172c62 | |
parent | 8a45c3faf392af5c64589268d0d7699c17b7feec (diff) | |
download | tcl-7655c307f652206c12c3b5b2b2dd4953c12c5384.zip tcl-7655c307f652206c12c3b5b2b2dd4953c12c5384.tar.gz tcl-7655c307f652206c12c3b5b2b2dd4953c12c5384.tar.bz2 |
Fix msgcat.test (in case a higher msgcat version is encountered, which is not included with Tcl 8.4)
<p>Doc fix in TCL_MEM_DEBUG.3
-rw-r--r-- | doc/TCL_MEM_DEBUG.3 | 2 | ||||
-rw-r--r-- | tests/msgcat.test | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/TCL_MEM_DEBUG.3 b/doc/TCL_MEM_DEBUG.3 index c531ac6..def44c1 100644 --- a/doc/TCL_MEM_DEBUG.3 +++ b/doc/TCL_MEM_DEBUG.3 @@ -26,7 +26,7 @@ version of \fBTcl_InitMemory\fR to add the \fBmemory\fR command to Tcl. \fBTCL_MEM_DEBUG\fR must be either left defined for all modules or undefined for all modules that are going to be linked together. If they are not, link errors will occur, with either \fBTclDbCkfree\fR and \fBTcl_DbCkalloc\fR or -\fBTcl_Ckalloc\fR and \fBTcl_Ckfree\fR being undefined. +\fBTcl_Alloc\fR and \fBTcl_Free\fR being undefined. .PP Once memory debugging support has been compiled into Tcl, the C functions \fBTcl_ValidateAllMemory\fR, and \fBTcl_DumpActiveMemory\fR, diff --git a/tests/msgcat.test b/tests/msgcat.test index 237a482..3440106 100644 --- a/tests/msgcat.test +++ b/tests/msgcat.test @@ -55,6 +55,13 @@ namespace eval ::msgcat::test { if {[info exists ::tcl::mac::locale]} { set result [string tolower $::tcl::mac::locale] } else { + if {([info sharedlibextension] == ".dll") + && ![catch {package require registry}]} { + # Windows and Cygwin have other ways to determine the + # locale when the environment variables are missing + # and the registry package is present + continue + } set result c } } |