From 30237f593a6ac4576a1ff74bf811dc5388108ed3 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Mon, 10 Oct 2022 12:50:38 +0200 Subject: [PATCH] [tuleap30906] : fix compilation error in UB22 --- src/ModelHighAPI/ModelHighAPI_Tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModelHighAPI/ModelHighAPI_Tools.cpp b/src/ModelHighAPI/ModelHighAPI_Tools.cpp index 65f536b38..87f24f815 100644 --- a/src/ModelHighAPI/ModelHighAPI_Tools.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Tools.cpp @@ -559,7 +559,7 @@ static bool checkDump(SessionPtr theSession, // execute the dumped PyGILState_STATE gstate = PyGILState_Ensure(); /* acquire python thread */ static char aReadMode[] = "r"; - FILE* PyFileObject = _Py_fopen(theFilename, aReadMode); + FILE* PyFileObject = fopen(theFilename, aReadMode); PyRun_SimpleFileEx(PyFileObject, theFilename, 1); PyGILState_Release(gstate); /* release python thread */ -- 2.39.2