Stop convert generating single space filenames
And remove stupid backtick quotes from filenames
diff --git a/MagickCore/blob.c b/MagickCore/blob.c
index 51fc9a9..99d1931 100644
--- a/MagickCore/blob.c
+++ b/MagickCore/blob.c
@@ -346,7 +346,7 @@
if ((blob == (const void *) NULL) || (length == 0))
{
(void) ThrowMagickException(exception,GetMagickModule(),BlobError,
- "ZeroLengthBlobNotPermitted","`%s'",image_info->filename);
+ "ZeroLengthBlobNotPermitted","'%s'",image_info->filename);
return((Image *) NULL);
}
blob_info=CloneImageInfo(image_info);
@@ -359,7 +359,7 @@
{
blob_info=DestroyImageInfo(blob_info);
(void) ThrowMagickException(exception,GetMagickModule(),
- MissingDelegateError,"NoDecodeDelegateForThisImageFormat","`%s'",
+ MissingDelegateError,"NoDecodeDelegateForThisImageFormat","'%s'",
image_info->filename);
return((Image *) NULL);
}
@@ -983,7 +983,7 @@
if (blob == (unsigned char *) NULL)
{
(void) ThrowMagickException(exception,GetMagickModule(),
- ResourceLimitError,"MemoryAllocationFailed","`%s'",filename);
+ ResourceLimitError,"MemoryAllocationFailed","'%s'",filename);
return((unsigned char *) NULL);
}
if (file == -1)
@@ -1005,7 +1005,7 @@
{
file=close(file);
(void) ThrowMagickException(exception,GetMagickModule(),
- ResourceLimitError,"MemoryAllocationFailed","`%s'",filename);
+ ResourceLimitError,"MemoryAllocationFailed","'%s'",filename);
return((unsigned char *) NULL);
}
map=MapBlob(file,ReadMode,0,*length);
@@ -1496,7 +1496,7 @@
if (magick_info == (const MagickInfo *) NULL)
{
(void) ThrowMagickException(exception,GetMagickModule(),
- MissingDelegateError,"NoDecodeDelegateForThisImageFormat","`%s'",
+ MissingDelegateError,"NoDecodeDelegateForThisImageFormat","'%s'",
image->filename);
return(blob);
}
@@ -1511,7 +1511,7 @@
sizeof(unsigned char));
if (blob_info->blob == (void *) NULL)
(void) ThrowMagickException(exception,GetMagickModule(),
- ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename);
+ ResourceLimitError,"MemoryAllocationFailed","'%s'",image->filename);
else
{
(void) CloseBlob(image);
@@ -1644,7 +1644,7 @@
{
file=close(file)-1;
(void) ThrowMagickException(exception,GetMagickModule(),
- ResourceLimitError,"MemoryAllocationError","`%s'",filename);
+ ResourceLimitError,"MemoryAllocationError","'%s'",filename);
return(MagickFalse);
}
length=0;
@@ -1751,7 +1751,7 @@
if (magick_info == (const MagickInfo *) NULL)
{
(void) ThrowMagickException(exception,GetMagickModule(),
- MissingDelegateError,"NoDecodeDelegateForThisImageFormat","`%s'",
+ MissingDelegateError,"NoDecodeDelegateForThisImageFormat","'%s'",
images->filename);
return(blob);
}
@@ -1766,7 +1766,7 @@
sizeof(unsigned char));
if (blob_info->blob == (void *) NULL)
(void) ThrowMagickException(exception,GetMagickModule(),
- ResourceLimitError,"MemoryAllocationFailed","`%s'",images->filename);
+ ResourceLimitError,"MemoryAllocationFailed","'%s'",images->filename);
else
{
images->blob->exempt=MagickTrue;
@@ -2366,7 +2366,7 @@
{
errno=EPERM;
(void) ThrowMagickException(exception,GetMagickModule(),PolicyError,
- "NotAuthorized","`%s'",filename);
+ "NotAuthorized","'%s'",filename);
return(MagickFalse);
}
if ((LocaleCompare(filename,"-") == 0) ||
@@ -2677,7 +2677,7 @@
if ((blob == (const void *) NULL) || (length == 0))
{
(void) ThrowMagickException(exception,GetMagickModule(),BlobError,
- "UnrecognizedImageFormat","`%s'",image_info->magick);
+ "UnrecognizedImageFormat","'%s'",image_info->magick);
return((Image *) NULL);
}
ping_info=CloneImageInfo(image_info);
@@ -2685,7 +2685,7 @@
if (ping_info->blob == (const void *) NULL)
{
(void) ThrowMagickException(exception,GetMagickModule(),
- ResourceLimitFatalError,"MemoryAllocationFailed","`%s'","");
+ ResourceLimitFatalError,"MemoryAllocationFailed","'%s'","");
return((Image *) NULL);
}
(void) memcpy(ping_info->blob,blob,length);