summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2006-03-17 09:59:54 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2006-03-17 09:59:54 (GMT)
commit02d85fe518c6dc123543ee1aeec7106313fe73ce (patch)
treedb9c1bb3d89698b5cafb1776aea424da0a0545b6
parent7af63d00e32bf28de28310b58175625841182af7 (diff)
downloadtcl-02d85fe518c6dc123543ee1aeec7106313fe73ce.zip
tcl-02d85fe518c6dc123543ee1aeec7106313fe73ce.tar.gz
tcl-02d85fe518c6dc123543ee1aeec7106313fe73ce.tar.bz2
Fix compilation error.
-rw-r--r--ChangeLog5
-rw-r--r--win/tclWinTest.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b55945f..9b7242e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-17 Joe Mistachkin <joe@mistachkin.com>
+
+ * win/tclWinTest.c: Corrected typo of 'initializeMutex' that
+ prevented successful compilation.
+
2006-03-16 Andreas Kupries <andreask@activestate.com>
* doc/open.n: Documented the changed behaviour of 'a'ppend mode.
diff --git a/win/tclWinTest.c b/win/tclWinTest.c
index 3d713c9..5edc81c 100644
--- a/win/tclWinTest.c
+++ b/win/tclWinTest.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinTest.c,v 1.13 2006/03/14 19:34:33 vincentdarley Exp $
+ * RCS: @(#) $Id: tclWinTest.c,v 1.14 2006/03/17 09:59:55 mistachkin Exp $
*/
#define USE_COMPAT_CONST
@@ -567,7 +567,7 @@ TestplatformChmod(CONST char *nativePath, int pmode)
static int initialized = 0;
if (!initialized) {
- TCL_DECLARE_MUTEX(initialzeMutex)
+ TCL_DECLARE_MUTEX(initializeMutex)
Tcl_MutexLock(&initializeMutex);
if (!initialized) {
HINSTANCE hInstance = LoadLibrary("Advapi32");
@@ -604,7 +604,7 @@ TestplatformChmod(CONST char *nativePath, int pmode)
if (!initialized)
initialized = -1;
}
- Tcl_MutexUnlock(&intializeMutex);
+ Tcl_MutexUnlock(&initializeMutex);
}
/* Process the chmod request */