Skip to content

Commit 2588ecc

Browse files
author
Cristy
committed
Recognize label:@- as stdin
1 parent ca41d62 commit 2588ecc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MagickCore/utility.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,6 +1458,8 @@ MagickExport MagickBooleanType IsPathAccessible(const char *path)
14581458

14591459
if ((path == (const char *) NULL) || (*path == '\0'))
14601460
return(MagickFalse);
1461+
if (strcmp(path,"-") == 0)
1462+
return(MagickTrue);
14611463
status=GetPathAttributes(path,&attributes);
14621464
if (status == MagickFalse)
14631465
return(status);

0 commit comments

Comments
 (0)