From 02d85fe518c6dc123543ee1aeec7106313fe73ce Mon Sep 17 00:00:00 2001 From: Joe Mistachkin Date: Fri, 17 Mar 2006 09:59:54 +0000 Subject: Fix compilation error. --- ChangeLog | 5 +++++ win/tclWinTest.c | 6 +++--- 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 + + * win/tclWinTest.c: Corrected typo of 'initializeMutex' that + prevented successful compilation. + 2006-03-16 Andreas Kupries * 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 */ -- cgit v0.12