From 8fa356cfee9e368e54ef9754dd3f7a1532b89148 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 31 Dec 2022 16:03:27 +0200 Subject: [PATCH 9/9] mapimg: Replace fopen() call with fc_fopen() See osdn #45507 Signed-off-by: Marko Lindqvist --- common/mapimg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/mapimg.c b/common/mapimg.c index 78f996a223..1c839e4498 100644 --- a/common/mapimg.c +++ b/common/mapimg.c @@ -2316,7 +2316,7 @@ static bool img_save_ppm(const struct img *pimg, const char *mapimgfile) return FALSE; } - fp = fopen(ppmname, "w"); + fp = fc_fopen(ppmname, "w"); if (!fp) { MAPIMG_LOG(_("could not open file: %s"), ppmname); return FALSE; -- 2.39.0