]> granicus.if.org Git - imagemagick/commitdiff
Recognize label:@- as stdin
authorCristy <urban-warrior@imagemagick.org>
Wed, 14 Oct 2015 23:40:35 +0000 (19:40 -0400)
committerCristy <urban-warrior@imagemagick.org>
Wed, 14 Oct 2015 23:40:35 +0000 (19:40 -0400)
MagickCore/utility.c

index ae4f11de925507def493fd62518ce73bf87d25f2..da9130f8deeb08c04e096640261012358c7ed066 100644 (file)
@@ -1458,6 +1458,8 @@ MagickExport MagickBooleanType IsPathAccessible(const char *path)
 
   if ((path == (const char *) NULL) || (*path == '\0'))
     return(MagickFalse);
+  if (strcmp(path,"-") == 0)
+    return(MagickTrue);
   status=GetPathAttributes(path,&attributes);
   if (status == MagickFalse)
     return(status);