summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-03-19 16:59:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-03-19 16:59:06 (GMT)
commite5a9a4d6a85c0dcc262e00d46418410e63d63fa0 (patch)
treefa41016732a9e446bfb70eb52970688c69463f11 /win
parentc29a0f17728ac66f5e659321fc15aa379af68abe (diff)
downloadtcl-e5a9a4d6a85c0dcc262e00d46418410e63d63fa0.zip
tcl-e5a9a4d6a85c0dcc262e00d46418410e63d63fa0.tar.gz
tcl-e5a9a4d6a85c0dcc262e00d46418410e63d63fa0.tar.bz2
* generic/tclBasic.c (Tcl_CreateMathFunc): Replaced some
* generic/tclEvent.c (Tcl_CreateThread): calls to Tcl_Alloc() * generic/tclObj.c (UpdateStringOfBignum): with calls to * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better * win/tclAppInit.c (setargv): supports memory debugging.
Diffstat (limited to 'win')
-rw-r--r--win/tclAppInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c
index 4156a74..65318b6 100644
--- a/win/tclAppInit.c
+++ b/win/tclAppInit.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclAppInit.c,v 1.23 2006/01/05 04:50:24 davygrvy Exp $
+ * RCS: @(#) $Id: tclAppInit.c,v 1.24 2007/03/19 16:59:09 dgp Exp $
*/
#include "tcl.h"
@@ -245,7 +245,7 @@ setargv(argcPtr, argvPtr)
}
}
}
- argSpace = (char *) Tcl_Alloc(
+ argSpace = (char *) ckalloc(
(unsigned) (size * sizeof(char *) + strlen(cmdLine) + 1));
argv = (char **) argSpace;
argSpace += size * sizeof(char *);