mrw wrote: > I've drafted up a patch to flac, and have attached it for any one > interested. I'm no programmer, so any comments welcome before I take it > further. > > It appears to be working successfully on my local arm box, but does need > to be subjected to more rigorous testing, and cross platform testing. > > Key point is that I have avoided messing with locales, etc., and simply > used one additional function from the standard C <string.h> library, so > I hope it would be portable to all platforms.
I've applied your patch to the source tree (vs2008) I used to build the flac.exe that's currently provided with LMS and rebuilt it. It's 'available here' (https://sourceforge.net/projects/lmsclients/files/utility/flac/flac-nolocale-win32.zip/download). bpa wrote: > I haven't been able to reproiduce the prpoblem. Trying to install PT_BR > locale on my ubuntu has failed - not sure why. > Window flac.exe doesn't fail no matter what I do with Region etc. > > My own preference would be to use strtod_l and then make sure it only > uses the "C" locale - using strtod with different untested locales may > still have surprises. > > Windows Flac.exe was built with VS so I'm trying to setup it up so I can > rebuild flac with extra message to be sure it is behaving OK on Windows > - but MS makes setting up VS2019 for simple command line C applications > painful. I have an old system with VS2015 setup for socketwrapper which > is the fallback. I should be able to quickly build a flac.exe with any patches you'd like to try using the same environment. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ------------------------------------------------------------------------ ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=110871 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
