]> granicus.if.org Git - imagemagick/commitdiff
"-" filename is a standard stream
authorCristy <urban-warrior@imagemagick.org>
Sun, 28 Jan 2018 22:37:02 +0000 (17:37 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sun, 28 Jan 2018 22:37:22 +0000 (17:37 -0500)
MagickCore/blob.c

index 662578a5edfa36f28a595cca0b7f546e66bf5667..b42415a0fdfefe60823b4ce3ba10f37978451c09 100644 (file)
@@ -3098,7 +3098,7 @@ MagickExport MagickBooleanType OpenBlob(const ImageInfo *image_info,
       if (strchr(type,'b') != (char *) NULL)
         setmode(fileno(blob_info->file_info.file),_O_BINARY);
 #endif
-      blob_info->type=FileStream;
+      blob_info->type=StandardStream;
       blob_info->exempt=MagickTrue;
       return(SetStreamBuffering(image_info,image));
     }