Proposed patch for the module-searching code
Posted: 2007-11-01T21:19:54-07:00
As currently written, the modules will be searched first in the directories specified by the environment variables, and then -- if the desired module is not found -- in the compiled-in path.
The patch would modify that algorithm to only consider the compiled-in path, if the environment variables are not found.
An earlier buggy version of this patch is currently included in the FreeBSD port. The proposed version should be correct:
The patch would modify that algorithm to only consider the compiled-in path, if the environment variables are not found.
An earlier buggy version of this patch is currently included in the FreeBSD port. The proposed version should be correct:
Code: Select all
--- magick/module.c 2007-09-29 20:39:15.000000000 -0400
+++ magick/module.c 2007-10-14 18:22:26.000000000 -0400
@@ -516,4 +516,5 @@
}
#if defined(UseInstalledMagick)
+ else
#if defined(MagickImageCodersPath)
{