[vlc-devel] Add a us_strtof function to avoid problem with comma and point in equalizer

Cyril MATHE cmathe at actech-innovation.com
Wed Apr 15 14:28:32 CEST 2009


I don't think so because the configuration are saved and after changing
LC_NUMERIC they are restored. Furthemore in the QT interface it's done
in a similar way.

The code is activated only if there is strtof (HAVE_STRTOF = 1) with
#define. But I can't do that in libvlccore.sym. Is this a possible
problem if the user don't have strtof ?

Le mercredi 15 avril 2009 à 12:18 +0300, Rémi Denis-Courmont a écrit :
> Le mercredi 15 avril 2009, Cyril MATHE a écrit :
> > 	I add a us_strtof function in charset.c, because of my previous
> > problem in equalizer.c. I change also strtof to us_strtof in
> > equalizer.c and that fixed my problem. Attached to this e-mail the
> > two patches which do it.
> 
> Doesn't that break the existing configuration of users with comma 
> decimal locales?
> 




More information about the vlc-devel mailing list