[flac-dev] strtod/atof and locale

lvqcl lvqcl.mail at gmail.com
Fri May 2 03:56:57 PDT 2014


Some previous patches to fix locale-dependent atof/strtod:

http://git.xiph.org/?p=flac.git;a=commitdiff;h=4e8fe85bceb245dfce07d1956b144e1cb6587c9f#patch2

http://git.xiph.org/?p=flac.git;a=commitdiff;h=aa285f3ac18a9825e9081af87545c8406e10f2d1

http://git.xiph.org/?p=flac.git;a=commitdiff;h=4b0f27011bba9fbbb2a7cae5325f6ada68c57a43#patch2
http://git.xiph.org/?p=flac.git;a=commitdiff;h=d75a07c968db0ec3d7e630c1080f9a8210f7c9b1#patch2



1) I don't understand the 3rd patch because both atof and strtod are locale-dependent

2) Patch 4 should fix the problem with flac tests but it doesn't work here
on Windows platform + MinGW. I wrote earlier that "make fullcheck" fails
on my computer but it's probably MinGW-specific.


More information about the flac-dev mailing list