Edwin Beasant
2012-04-23 ff6ec3349816d4f766e144fbe70e1712db859746
1
2
3
4
5
6
7
8
9
10
11
12
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))
         {