diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2003-10-09 00:29:27 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2003-10-09 00:29:27 (GMT) |
commit | e7ee62989ba32781bf9225e6e5e4d1d3800535c0 (patch) | |
tree | c9406dd2cfb8ad400bbaef02bce71a357ac0ca27 /win/tclAppInit.c | |
parent | 834dd44b02f471e7a56355d1085568f7f9a2f006 (diff) | |
download | tcl-e7ee62989ba32781bf9225e6e5e4d1d3800535c0.zip tcl-e7ee62989ba32781bf9225e6e5e4d1d3800535c0.tar.gz tcl-e7ee62989ba32781bf9225e6e5e4d1d3800535c0.tar.bz2 |
* win/makefile.vc: Applied patches for bug #801467 by Joe Mistachkin
* win/tclAppInit.c: to fix incompatible TCL_MEM_DEBUG handling in
* generic/tclObj.c: Win32 VC builds.
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 19acfe0..16d488b 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.13 2003/05/10 04:25:49 mistachkin Exp $ + * RCS: @(#) $Id: tclAppInit.c,v 1.14 2003/10/09 00:29:27 patthoyts 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 *); |