You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-mathematics/flint/files/flint-2.5.2-memory_message....

17 lines
504 B

This fixes a Python 3 doctest failure in
rings/polynomial/polynomial_integer_dense_flint.pyx: see #28334.
See https://github.com/wbhart/flint2/pull/585 for upstream PR
diff --git a/memory_manager.c b/memory_manager.c
index 04abf8a..bece9f5 100644
--- a/memory_manager.c
+++ b/memory_manager.c
@@ -41,6 +41,7 @@ pthread_mutex_t register_lock;
static void flint_memory_error()
{
flint_printf("Exception (FLINT memory_manager). Unable to allocate memory.\n");
+ fflush(stdout);
abort();
}