commit | d0305b9e0b8fcac4812727af603f693ffea1e045 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Mon Oct 19 13:12:21 2009 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Mon Oct 19 13:12:21 2009 +0000 |
tree | 3e71836b20cd8fa1425b875dbbcf1744f3f615da | |
parent | 41c3c77d6f4e3131bf2be0b35277c086b69ce492 [diff] [blame] |
diff --git a/coders/pict.c b/coders/pict.c index 65535a8..969759f 100644 --- a/coders/pict.c +++ b/coders/pict.c
@@ -1352,7 +1352,7 @@ file=(FILE *) NULL; unique_file=AcquireUniqueFileResource(read_info->filename); if (unique_file != -1) - file=OpenMagickStream(read_info->filename,"wb"); + file=fdopen(unique_file,"wb"); if ((unique_file == -1) || (file == (FILE *) NULL)) { (void) CopyMagickString(image->filename,read_info->filename,