From 97b660c5c8dca506064536f37fd59e9680fc2bea Mon Sep 17 00:00:00 2001 From: Michael Starzinger Date: Sat, 21 Mar 2009 17:00:53 +0100 Subject: [PATCH] Fixes PR121. Cherry-picked from upstream BoehmGC CVS head. * src/mm/boehm-gc/os_dep.c (GC_linux_stack_base): Relax sanity test. --- src/mm/boehm-gc/os_dep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mm/boehm-gc/os_dep.c b/src/mm/boehm-gc/os_dep.c index 5aa41f3e7..321aba94b 100644 --- a/src/mm/boehm-gc/os_dep.c +++ b/src/mm/boehm-gc/os_dep.c @@ -1077,7 +1077,7 @@ ptr_t GC_get_main_stack_base(void) c = stat_buf[buf_offset++]; } close(f); - if (result < 0x10000000) ABORT("Absurd stack bottom value"); + if (result < 0x100000) ABORT("Absurd stack bottom value"); return (ptr_t)result; } -- 2.25.1