commit 945524ed4b6d392d757bcb026f93717922e64a88 from: Stefan Sperling date: Sun Sep 20 23:19:38 2020 UTC remove abort() in example code commit - 6f26cb2ecbe03d692e63a4f263febfb5a74e4377 commit + 945524ed4b6d392d757bcb026f93717922e64a88 blob - b9cb5287108c39de112730e222d45dde287c811c blob + 9f5f1eb495d016441ffc8a94e8401c15f8a67df9 --- include/diff/arraylist.h +++ include/diff/arraylist.h @@ -30,7 +30,7 @@ * // list.head may change due to realloc: * ARRAYLIST_ADD(x, list); * if (!x) - * abort(); + * return ENOMEM; * *x = random_foo_value; * } * for (i = 0; i < list.len; i++)