From: Cristy Date: Wed, 14 Oct 2015 23:40:35 +0000 (-0400) Subject: Recognize label:@- as stdin X-Git-Tag: 7.0.1-0~563 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2588ecc44bc3f9367fa55ffaa10dbbce150851ef;p=imagemagick Recognize label:@- as stdin --- diff --git a/MagickCore/utility.c b/MagickCore/utility.c index ae4f11de9..da9130f8d 100644 --- a/MagickCore/utility.c +++ b/MagickCore/utility.c @@ -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);