From e7cd5cd3f2092cd872d688463851b3c1e74c8ee3 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Fri, 27 Jan 2023 15:07:04 +0100 Subject: [PATCH] make the .ngf file read/write on Windows --- src/runtime/c/pgf/pgf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/c/pgf/pgf.cxx b/src/runtime/c/pgf/pgf.cxx index 3e7700df8..f2230d3b9 100644 --- a/src/runtime/c/pgf/pgf.cxx +++ b/src/runtime/c/pgf/pgf.cxx @@ -175,7 +175,7 @@ PgfDB *pgf_new_ngf(PgfText *abstract_name, #ifndef _WIN32 S_IRUSR | S_IWUSR #else - 0 + _S_IREAD | _S_IWRITE #endif );