summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tclObj.c3
-rwxr-xr-xgeneric/tclStrToD.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index 722483a..e0ba40b 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclObj.c,v 1.72.2.36 2005/09/20 14:11:52 dgp Exp $
+ * RCS: @(#) $Id: tclObj.c,v 1.72.2.37 2005/09/23 04:03:43 dgp Exp $
*/
#include "tclInt.h"
@@ -2914,6 +2914,7 @@ Tcl_SetBignumObj(
TclInvalidateStringRep(objPtr);
TclFreeIntRep(objPtr);
TclSetBignumIntRep(objPtr, bignumValue);
+ mp_clear(bignumValue);
}
void
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index c3b37ef..32b4b7b 100755
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclStrToD.c,v 1.1.2.37 2005/09/16 19:29:02 dgp Exp $
+ * RCS: @(#) $Id: tclStrToD.c,v 1.1.2.38 2005/09/23 04:03:43 dgp Exp $
*
*----------------------------------------------------------------------
*/
@@ -1021,7 +1021,6 @@ TclParseNumber( Tcl_Interp* interp,
mp_neg(&octalSignificandBig, &octalSignificandBig);
}
TclSetBignumIntRep(objPtr, &octalSignificandBig);
- octalSignificandOverflow = 0;
}
break;
@@ -1075,7 +1074,6 @@ TclParseNumber( Tcl_Interp* interp,
mp_neg(&significandBig, &significandBig);
}
TclSetBignumIntRep(objPtr, &significandBig);
- significandOverflow = 0;
}
break;