diff options
author | dgp <dgp@users.sourceforge.net> | 2007-11-12 19:18:11 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-11-12 19:18:11 (GMT) |
commit | 19ff89ec05fbfdb2e383a89c9f522e5474f484fd (patch) | |
tree | 7795d4849bbe3267bf65b73119c570602cce9a73 /generic/tclScan.c | |
parent | 0a7049c4674056ec95788074fd9275355f9e1b7f (diff) | |
download | tcl-19ff89ec05fbfdb2e383a89c9f522e5474f484fd.zip tcl-19ff89ec05fbfdb2e383a89c9f522e5474f484fd.tar.gz tcl-19ff89ec05fbfdb2e383a89c9f522e5474f484fd.tar.bz2 |
merge updates from HEAD
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r-- | generic/tclScan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclScan.c b/generic/tclScan.c index 1a05b8c..b5f962d 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.24.6.1 2007/06/25 18:53:31 dgp Exp $ + * RCS: @(#) $Id: tclScan.c,v 1.24.6.2 2007/11/12 19:18:20 dgp Exp $ */ #include "tclInt.h" @@ -899,7 +899,7 @@ Tcl_ScanObjCmd( if (flags & SCAN_LONGER) { if (Tcl_GetWideIntFromObj(NULL, objPtr, &wideValue) != TCL_OK) { wideValue = ~(Tcl_WideUInt)0 >> 1; /* WIDE_MAX */ - if (Tcl_GetString(objPtr)[0] == '-') { + if (TclGetString(objPtr)[0] == '-') { wideValue++; /* WIDE_MAX + 1 = WIDE_MIN */ } } @@ -911,8 +911,8 @@ Tcl_ScanObjCmd( Tcl_SetWideIntObj(objPtr, wideValue); } } else if (!(flags & SCAN_BIG)) { - if (Tcl_GetLongFromObj(NULL, objPtr, &value) != TCL_OK) { - if (Tcl_GetString(objPtr)[0] == '-') { + if (TclGetLongFromObj(NULL, objPtr, &value) != TCL_OK) { + if (TclGetString(objPtr)[0] == '-') { value = LONG_MIN; } else { value = LONG_MAX; |