opensubscriber
   Find in this group all groups
 
Unknown more information…

l : libextractor@gnu.org 29 June 2009 • 1:22AM -0400

Re: [libextractor] setlocale call in libextractor
by Christian Grothoff

REPLY TO AUTHOR
 
REPLY TO GROUP




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 ?



_______________________________________________
libextractor mailing list
libextractor@gnu....
http://lists.gnu.org/mailman/listinfo/libextractor

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.