libextractor
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libextractor] setlocale call in libextractor


From: Christian Grothoff
Subject: Re: [libextractor] setlocale call in libextractor
Date: Sun, 28 Jun 2009 11:22:36 -0600
User-agent: KMail/1.11.4 (Linux/2.6.29-2-686; KDE/4.2.4; i686; ; )

Hi!

I can only find a call to "setlocale" in "extract.c", which is not part of the 
library (extract.c is for the "extract" binary, a stand-alone program).  

What version of LE are you using -- and what line of the code are you 
referring to?

Best,

Christian

On Friday 26 June 2009 05:27:11 Aliaksey Kandratsenka wrote:
> Hi.
>
> I'm having a minor issue with libextractor. I'm using libextractor
> through Ruby language bindings. And setlocale call from libextractor
> changes localized representation of numbers which causes ruby to do
> conversion from numbers to string incorrectly. I understand that it's a
> gray area. And that ruby interpreter can be blamed too. But I think that
> libraries should avoid global environment changes. And setlocale does
> such global change.
>
> What do you think ? Is that call really necessary ?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]