From: Ivan Maidanski Date: Thu, 17 Dec 2015 18:25:16 +0000 (+0300) Subject: Return GC_UNIMPLEMENTED instead of abort in GC_get_stack_base (OS/2) X-Git-Tag: gc7_6_0~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6f5e9330f6867824cda739fd229d99f96e7e760;p=gc Return GC_UNIMPLEMENTED instead of abort in GC_get_stack_base (OS/2) * os_dep.c (GC_get_stack_base): Replace ABORT (in case of DosGetInfoBlocks failure) with WARN() and return GC_UNIMPLEMENTED. --- diff --git a/os_dep.c b/os_dep.c index 7cf10ff9..93bf6589 100644 --- a/os_dep.c +++ b/os_dep.c @@ -817,7 +817,8 @@ GC_INNER word GC_page_size = 0; PTIB ptib; /* thread information block */ PPIB ppib; if (DosGetInfoBlocks(&ptib, &ppib) != NO_ERROR) { - ABORT("DosGetInfoBlocks failed"); + WARN("DosGetInfoBlocks failed\n", 0); + return GC_UNIMPLEMENTED; } sb->mem_base = ptib->tib_pstacklimit; return GC_SUCCESS;