author | Norm Jacobs <Norm.Jacobs@Oracle.COM> |
Tue, 05 May 2015 06:49:34 -0500 | |
changeset 4253 | d6f30e77062b |
parent 4196 | d697072a92f5 |
permissions | -rw-r--r-- |
diff -rupN a/src/lib/libast/sfio/sfstrtof.h b/src/lib/libast/sfio/sfstrtof.h --- a/src/lib/libast/sfio/sfstrtof.h 2010-12-24 14:32:27.000000000 +0000 +++ b/src/lib/libast/sfio/sfstrtof.h 2011-10-25 12:21:57.749942750 +0100 @@ -414,7 +414,7 @@ S2F_function(str, end) char* str; char** m = 0; fraction = digits; } - else if (c != thousand) + else if (c != thousand || (c == thousand && decimal == -1)) break; else if (!(m = digits)) {