]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 14 May 2017 18:01:07 +0000 (14:01 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 14 May 2017 18:01:07 +0000 (14:01 -0400)
MagickCore/policy.c

index d74b54fcba2fd5462f8cec7464b021777c2a5450..f395d507f09826e7c0617b267f306b6cd81f1afe 100644 (file)
@@ -179,7 +179,10 @@ static LinkedListInfo *AcquirePolicyCache(const char *filename,
   if (cache == (LinkedListInfo *) NULL)
     ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
   status=MagickTrue;
-#if !defined(MAGICKCORE_ZERO_CONFIGURATION_SUPPORT)
+#if defined(MAGICKCORE_ZERO_CONFIGURATION_SUPPORT)
+  status=LoadPolicyCache(cache,ZeroConfigurationPolicy,"ZeroConfiguration",0,
+    exception);
+#else
   {
     const StringInfo
       *option;