]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
[tuleap30906] : fix compilation error in UB22 29468
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 10 Oct 2022 10:50:38 +0000 (12:50 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 10 Oct 2022 10:50:38 +0000 (12:50 +0200)
src/ModelHighAPI/ModelHighAPI_Tools.cpp

index 65f536b389b750dd27ecfaffea7c63a0b4929e65..87f24f8151eb31769cbda52b5e5ef4724e71d715 100644 (file)
@@ -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 */