mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
This commit is contained in:
@@ -125,7 +125,7 @@ MagickExport CacheView *AcquireAuthenticCacheView(const Image *image)
|
||||
{
|
||||
CatchException(exception);
|
||||
MagickCoreTerminus();
|
||||
_exit(CacheFatalError);
|
||||
_exit((int) (CacheFatalError-FatalErrorException)+1);
|
||||
}
|
||||
exception=DestroyExceptionInfo(exception);
|
||||
return(cache_view);
|
||||
|
||||
@@ -49,7 +49,7 @@ extern "C" {
|
||||
CatchException(&exception); \
|
||||
(void) DestroyExceptionInfo(&exception); \
|
||||
MagickCoreTerminus(); \
|
||||
_exit(severity); \
|
||||
_exit((int) (severity-FatalErrorException)+1); \
|
||||
}
|
||||
#define ThrowFileException(exception,severity,tag,context) \
|
||||
{ \
|
||||
|
||||
@@ -341,7 +341,7 @@ static void DefaultFatalErrorHandler(const ExceptionType severity,
|
||||
(void) FormatLocaleFile(stderr,".\n");
|
||||
(void) fflush(stderr);
|
||||
MagickCoreTerminus();
|
||||
exit(severity);
|
||||
exit((int) (severity-FatalErrorException)+1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+1
-1
@@ -1374,7 +1374,7 @@ int main(int argc,char **argv)
|
||||
/*
|
||||
Validate the ImageMagick image processing suite.
|
||||
*/
|
||||
MagickCoreGenesis(*argv,MagickFalse);
|
||||
MagickCoreGenesis(*argv,MagickTrue);
|
||||
(void) setlocale(LC_ALL,"");
|
||||
(void) setlocale(LC_NUMERIC,"C");
|
||||
iterations=1;
|
||||
|
||||
Reference in New Issue
Block a user