author | Rich Burridge <rich.burridge@oracle.com> |
Wed, 09 Sep 2015 11:58:35 -0700 | |
changeset 4847 | 05ee227964f9 |
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)) {