From 5c46e29317e5fbbd4e94222b96f0d01658cb76cf Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 28 Feb 2012 20:57:15 +0000 Subject: [PATCH] runtime: Call exit rather than _exit. This fixes --coverage and perhaps other things as well. From-SVN: r184642 --- libgo/runtime/runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h index 41b0ef5f007..5a64605b0cb 100644 --- a/libgo/runtime/runtime.h +++ b/libgo/runtime/runtime.h @@ -348,7 +348,7 @@ void runtime_panic(Eface); #define runtime_strcmp(s1, s2) __builtin_strcmp((s1), (s2)) #define runtime_mcmp(a, b, s) __builtin_memcmp((a), (b), (s)) #define runtime_memmove(a, b, s) __builtin_memmove((a), (b), (s)) -#define runtime_exit(s) _exit(s) +#define runtime_exit(s) exit(s) MCache* runtime_allocmcache(void); void free(void *v); struct __go_func_type;