From: Cristy Date: Sat, 8 Sep 2018 17:01:43 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-12~78 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abc1743cc95543880808f6b4f97221063259d23b;p=imagemagick ... --- diff --git a/coders/pdf.c b/coders/pdf.c index 57dbefc39..c030bff8c 100644 --- a/coders/pdf.c +++ b/coders/pdf.c @@ -256,7 +256,7 @@ static MagickBooleanType InvokePDFDelegate(const MagickBooleanType verbose, (void) (ghost_info->set_stdio)(interpreter,(int (MagickDLLCall *)(void *, char *,int)) NULL,PDFDelegateMessage,PDFDelegateMessage); status=(ghost_info->init_with_args)(interpreter,argc-1,argv+1); - if (status == 0) + if ((status == 0) || (status == -100)) status=(ghost_info->run_string)(interpreter,"systemdict /start get exec\n", 0,&code); (ghost_info->exit)(interpreter); diff --git a/coders/ps.c b/coders/ps.c index f36f40056..572624f58 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -246,7 +246,7 @@ static MagickBooleanType InvokePostscriptDelegate( (void) (ghost_info->set_stdio)(interpreter,(int (MagickDLLCall *)(void *, char *,int)) NULL,PostscriptDelegateMessage,PostscriptDelegateMessage); status=(ghost_info->init_with_args)(interpreter,argc-1,argv+1); - if (status == 0) + if ((status == 0) || (status == -100)) status=(ghost_info->run_string)(interpreter,"systemdict /start get exec\n", 0,&code); (ghost_info->exit)(interpreter);