diff options
author | kennykb <kennykb@noemail.net> | 2005-05-10 18:33:37 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2005-05-10 18:33:37 (GMT) |
commit | 12f35b8171c95899a2a2a30542cec622fc022868 (patch) | |
tree | 2f108341f2c542f48532e6057d79bfa551a4245f /generic/tclScan.c | |
parent | b4e4f618035fce9c41fdbdb94a781e6e33d02427 (diff) | |
download | tcl-12f35b8171c95899a2a2a30542cec622fc022868.zip tcl-12f35b8171c95899a2a2a30542cec622fc022868.tar.gz tcl-12f35b8171c95899a2a2a30542cec622fc022868.tar.bz2 |
Merged kennykb-numerics-branch back to the head; TIPs 132 and 232
FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r-- | generic/tclScan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclScan.c b/generic/tclScan.c index 624910c..2e4bf18 100644 --- a/generic/tclScan.c +++ b/generic/tclScan.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: tclScan.c,v 1.16 2004/10/06 15:59:25 dgp Exp $ + * RCS: @(#) $Id: tclScan.c,v 1.17 2005/05/10 18:34:49 kennykb Exp $ */ #include "tclInt.h" @@ -1144,7 +1144,7 @@ Tcl_ScanObjCmd(dummy, interp, objc, objv) if (!(flags & SCAN_SUPPRESS)) { double dvalue; *end = '\0'; - dvalue = strtod(buf, NULL); + dvalue = TclStrToD(buf, NULL); objPtr = Tcl_NewDoubleObj(dvalue); Tcl_IncrRefCount(objPtr); objs[objIndex++] = objPtr; |