]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 7 Jan 2013 00:44:15 +0000 (00:44 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 7 Jan 2013 00:44:15 +0000 (00:44 +0000)
MagickCore/cache.c

index 220f54d4a5cf9e3b2158f657cf2a507d36caf6fa..5174a91293a46c20c974daa1a78aec311463b180 100644 (file)
@@ -1132,8 +1132,14 @@ MagickPrivate void ClonePixelCacheMethods(Cache clone,const Cache cache)
 */
 MagickExport void DistributedPixelCache(const size_t port)
 {
+#if defined(MAGICKCORE_HAVE_SOCKET)
   (void) port;
   for ( ; ; ) sleep(1);
+#else
+  (void) ThrowMagickException(exception,GetMagickModule(),MissingDelegateError,
+    "DelegateLibrarySupportNotBuiltIn","'%s' (socket)",image_info->filename);
+  abort();
+#endif
 }
 \f
 /*