From 21f82a76395ec601a2aabf55ff84cfeb65124428 Mon Sep 17 00:00:00 2001 From: cristy Date: Wed, 17 Jul 2013 13:39:19 +0000 Subject: [PATCH] --- MagickCore/memory.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MagickCore/memory.c b/MagickCore/memory.c index 5316ba79b..d0fb4138f 100644 --- a/MagickCore/memory.c +++ b/MagickCore/memory.c @@ -584,10 +584,6 @@ MagickExport MemoryInfo *AcquireVirtualMemory(const size_t count, Anonymous memory mapping failed, try file-backed memory mapping. */ file=AcquireUniqueFileResource(memory_info->filename); - file=open_utf8(memory_info->filename,O_RDWR | O_CREAT | O_BINARY | O_EXCL, - S_MODE); - if (file == -1) - file=open_utf8(memory_info->filename,O_RDWR | O_BINARY,S_MODE); if (file != -1) { if ((lseek(file,length-1,SEEK_SET) >= 0) && (write(file,"",1) == 1)) -- 2.40.0