Commit 1eac01474 for imagemagick.org
commit 1eac01474c9a6c4cf9d91d2a32e82720672aa098
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sat Sep 12 10:07:51 2026 -0400
eliminate compiler exception
diff --git a/MagickWand/script-token.c b/MagickWand/script-token.c
index ae7875aa5..18e7d0911 100644
--- a/MagickWand/script-token.c
+++ b/MagickWand/script-token.c
@@ -227,7 +227,7 @@ WandExport ScriptTokenInfo *AcquireScriptTokenInfo(const char *filename)
token_info->opened=MagickFalse;
}
else {
- int fd = open_utf8(filename,O_RDONLY | O_CLOEXEC | O_NOFOLLOW);
+ int fd = open_utf8(filename,O_RDONLY | O_CLOEXEC | O_NOFOLLOW,0);
if (fd != -1)
token_info->stream=fdopen(fd,"r");
if (token_info->stream != (FILE *) NULL)