diff options
author | Kevin B Kenny <kennykb@acm.org> | 2011-01-15 19:01:31 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2011-01-15 19:01:31 (GMT) |
commit | f1e18bf51337c961ce3f57362d0fc1a6584af378 (patch) | |
tree | 0ab0387ae49ad442a676cb29b6a29ae52feb552a | |
parent | 3aded4ee3f9fa66143b3b8b4be6b021243515cf1 (diff) | |
download | tcl-f1e18bf51337c961ce3f57362d0fc1a6584af378.zip tcl-f1e18bf51337c961ce3f57362d0fc1a6584af378.tar.gz tcl-f1e18bf51337c961ce3f57362d0fc1a6584af378.tar.bz2 |
Removed code that suppressed zeroes in a context where zeroes cannot appear.
-rwxr-xr-x | generic/tclStrToD.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c index 53ffedd..67c797f 100755 --- a/generic/tclStrToD.c +++ b/generic/tclStrToD.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: tclStrToD.c,v 1.53 2011/01/15 18:10:19 kennykb Exp $ + * RCS: @(#) $Id: tclStrToD.c,v 1.54 2011/01/15 19:01:31 kennykb Exp $ */ #include "tclInt.h" @@ -3335,11 +3335,6 @@ ShorteningBignumConversionPowD( *s++ = '9'; s = BumpUp(s, retval, &k); break; - } else if (mp_iszero(&b)) { - while (*--s == '0') { - /* do nothing */ - } - ++s; } } |