+1 one on this - it solves some nasty locale problems for compilers which, say in France or the Netherlands swap the '.' and ','.
Dw. -- Dirk-Willem van Gulik On Sun, 9 Mar 2003, [ISO-8859-1] Andr� Malo wrote: > There's a PR dealing with atof() problems: > <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17564>. > > I think, we should simply avoid that function call. > The attached patch does the following: > > - quality values are converted by a specialized function atoq. > - level values are no longer parsed as float (instead as int, using atoi). > According to our documentation this was already intended :) > > Do you see any problems with this patch? (especially with the level thing? > (Does anybody actually use it?)) > > nd >
