diff options
Diffstat (limited to 'tools/depends/target/python3/no-abort.patch')
-rw-r--r-- | tools/depends/target/python3/no-abort.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/depends/target/python3/no-abort.patch b/tools/depends/target/python3/no-abort.patch new file mode 100644 index 0000000000..e509c2d1e7 --- /dev/null +++ b/tools/depends/target/python3/no-abort.patch @@ -0,0 +1,22 @@ +--- a/Modules/posixmodule.c ++++ b/Modules/posixmodule.c +@@ -10365,7 +10365,7 @@ + os_abort_impl(PyObject *module) + /*[clinic end generated code: output=dcf52586dad2467c input=cf2c7d98bc504047]*/ + { +- abort(); ++ // abort(); + /*NOTREACHED*/ + Py_FatalError("abort() called from Python code didn't abort!"); + return NULL; +--- a/Python/pythonrun.c ++++ b/Python/pythonrun.c +@@ -1697,7 +1697,7 @@ + DebugBreak(); + #endif + #endif /* MS_WINDOWS */ +- abort(); ++ // abort(); + } + + /* Clean up and exit */ |