]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 31 Jan 2012 15:01:15 +0000 (15:01 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 31 Jan 2012 15:01:15 +0000 (15:01 +0000)
MagickCore/blob.c

index 80ee5b6d0e0d791f779c336754bdd1d9605c4ca6..8e7fb54623e7e7c598238071ec37fe3709ef9a16 100644 (file)
@@ -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);