setlocale in locale.c - Image Magick 6.3.7

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
dlister

setlocale in locale.c - Image Magick 6.3.7

Post 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.
dlister

Re: setlocale in locale.c - Image Magick 6.3.7

Post 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.
Post Reply