Page 1 of 1

setlocale in locale.c - Image Magick 6.3.7

Posted: 2008-02-15T11:57:37-07:00
by dlister
File: locale.c
Function: InitializeLocaleList
Version: Image Magick 6.3.7-2

Description:
The call to setlocale("LC_ALL, "") in locale.c during the initialization of Image Magick changes the locale for the entire application if a shared library or DLL implementation of the C runtime library is utilized. This call to setlocale(LC_ALL, "") should be removed to prevent this from happening. This problem will occur with dynamic and static library implementations if the DLL or shared library version of the C runtime library is used.

Re: setlocale in locale.c - Image Magick 6.3.7

Posted: 2008-02-15T12:04:56-07:00
by dlister
Response from the Image Magick Developers team was that more recent versions of Image Magick do not have this call to setlocale. Problem is fixed. I'll verify when we update our version.