setlocale(LC_ALL, "") in locale.c - Image Magick 6.3.7-2

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
dlister

setlocale(LC_ALL, "") in locale.c - Image Magick 6.3.7-2

Post by dlister »

The call to "setlocale(LC_ALL, "")" in InitializeLocaleList() in locale.c is causing some issues with our applications. Because we are using the Mult-Threaded DLL "C" run time, this call to setlocale changes the locale of our application when Image Magick is loaded.

I believe that this call to setlocale should be removed since the code in InitializeLocaleList() appears to be just querying what the locale of the current envionment is.

David
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: setlocale(LC_ALL, "") in locale.c - Image Magick 6.3.7-2

Post by magick »

Recent releases of ImageMagick do not have a call to the setlocale() method for the reasons you stated.
Post Reply