On Mon, Jan 19, 2009 at 08:17:16PM +0100, Evgeni Golov wrote: > Hi, > > On Mon, 19 Jan 2009 16:43:28 -0200 Fernando M. Maresca wrote: > > > Ok, it's a locale problem related to the defintion of the decimal-point > > char. > > In both i386 and adm64 boxes my LC_* definition is es_AR.UTF-8. Changing > > that to LC_ALL="C" makes xnecview work. > > In es_AR.UTF-8 the decimal-point char is ',' (comma) not '.' > > (point/period). > > > > I think that calling setlocale(LC_ALL, "C") before sscanf may do the > > trick, because regardless of the locale settings of the user, all .nec > > files will be using '.' as decimal-point char always. > > Yupp, now I can reproduce it by setting LC_ALL to de_DE.UTF-8 (I have > en_US.UTF-8 here normally). > And yepp² calling setlocale() helps. > > See the attached debdiff for a proposed NMU. Applyed the patch and works here. Thanks
-- Fernando M. Maresca - - - - - - - - - - - - - Cel: 221 15 545 8196 Tel: 221 450 5378
signature.asc
Description: Digital signature