summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2007-11-10 19:01:33 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2007-11-10 19:01:33 (GMT)
commit1bb7bf057245c23fb001032ceb3df30a99b093ee (patch)
treeee3e9b6761d7863d8db6a9e00353b6f533742f04 /win
parent9d4613e63ad9a84dc895ee578f5839138fc85dad (diff)
downloadtcl-1bb7bf057245c23fb001032ceb3df30a99b093ee.zip
tcl-1bb7bf057245c23fb001032ceb3df30a99b093ee.tar.gz
tcl-1bb7bf057245c23fb001032ceb3df30a99b093ee.tar.bz2
* generic/tclBasic.c:
* generic/tclInt.h: * unix/tclUnixInit.c: * win/tclWin32Dll.c: restore simpler behaviour for stack checking, not adaptive to stack size changes after a thread is launched. Consensus is that "nobody does that", and so it is not worth the cost.
Diffstat (limited to 'win')
-rw-r--r--win/tclWin32Dll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c
index 0ad344e..e7d20f5 100644
--- a/win/tclWin32Dll.c
+++ b/win/tclWin32Dll.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWin32Dll.c,v 1.51 2007/11/10 17:40:35 kennykb Exp $
+ * RCS: @(#) $Id: tclWin32Dll.c,v 1.52 2007/11/10 19:01:35 msofer Exp $
*/
#include "tclWinInt.h"
@@ -544,7 +544,7 @@ TclWinNoBackslash(
#ifndef TCL_NO_STACK_CHECK
int
TclpGetCStackParams(
- int ***stackBoundPtr)
+ int **stackBoundPtr)
{
ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey);
SYSTEM_INFO si; /* The system information, used to
@@ -592,7 +592,7 @@ TclpGetCStackParams(
+ TCL_WIN_STACK_THRESHOLD);
}
}
- *stackBoundPtr = &(tsdPtr->stackBound);
+ *stackBoundPtr = tsdPtr->stackBound;
return 1;
}
#endif