diff options
author | dgp <dgp@users.sourceforge.net> | 2007-03-19 17:06:24 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-03-19 17:06:24 (GMT) |
commit | 85d645e7d34a62d8b3e0211277b9271fb32dce66 (patch) | |
tree | d4afeb9f0c63cd80b0121107034e2c1ec4220f98 /win/tclAppInit.c | |
parent | 81071e7c69ad7aef5a908c64b219977a52442ff5 (diff) | |
download | tcl-85d645e7d34a62d8b3e0211277b9271fb32dce66.zip tcl-85d645e7d34a62d8b3e0211277b9271fb32dce66.tar.gz tcl-85d645e7d34a62d8b3e0211277b9271fb32dce66.tar.bz2 |
* generic/tclEvent.c (Tcl_CreateThread): Replaced some calls to
* generic/tclPkg.c (CheckVersion): Tcl_Alloc() with calls to
* unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better
* win/tclAppInit.c (setargv): supports memory debugging.
Diffstat (limited to 'win/tclAppInit.c')
-rw-r--r-- | win/tclAppInit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c index cc2c1de..ee8563b 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.11.2.2 2003/10/14 22:41:42 davygrvy Exp $ + * RCS: @(#) $Id: tclAppInit.c,v 1.11.2.3 2007/03/19 17:06:26 dgp Exp $ */ #include "tcl.h" @@ -315,7 +315,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 *); |