--- 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))
{