From: cristy Date: Tue, 31 Jan 2012 15:01:15 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6285 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b69aace936fefa75ff5f06766e00d09e12951837;p=imagemagick --- diff --git a/MagickCore/blob.c b/MagickCore/blob.c index 80ee5b6d0..8e7fb5462 100644 --- a/MagickCore/blob.c +++ b/MagickCore/blob.c @@ -1627,7 +1627,7 @@ MagickExport MagickBooleanType ImageToFile(Image *image,char *filename, if (LocaleCompare(filename,"-") == 0) file=fileno(stdout); else - file=open_utf8(filename,O_RDWR | O_CREAT | O_EXCL | O_BINARY,S_MODE); + file=open_utf8(filename,O_RDWR | O_CREAT | O_BINARY,S_MODE); if (file == -1) { ThrowFileException(exception,BlobError,"UnableToWriteBlob",filename);