summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-12-07 18:12:40 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:52 +0200
commit176d5bda1e4416a306005d5ee66a902e9db6af6d (patch)
tree52e7c56e61bb91f41a8005e16bc61eccca74cb93 /mark_rts.c
parenta745f0f3f342887988aa9d05c29b2478f0e30101 (diff)
2009-12-07 Ivan Maidanski <ivmai@mail.ru>
* doc/README.macros (GC_READ_ENV_FILE): Document (new macro). * include/private/gc_priv.h (GETENV): Recognize GC_READ_ENV_FILE; declare and use GC_envfile_getenv(). * misc.c (GC_envfile_content, GC_envfile_length): New static variable (only if GC_READ_ENV_FILE). * misc.c (GC_ENVFILE_MAXLEN): New macro (used in GC_envfile_init). * misc.c (GC_envfile_init, GC_envfile_getenv): New function (only if GC_READ_ENV_FILE). * misc.c (GC_init): Call GC_envfile_init() (before using GETENV) if GC_READ_ENV_FILE. * misc.c (GC_init): Move GC_setpagesize() and GC_init_win32() calls to be just before GC_envfile_init() one (since the latter uses GET_MEM). * misc.c (GC_abort): use ExitProcess() (instead of DebugBreak) for WinCE if NO_DEBUGGING; add a comment for DebugBreak() (for WinCE). * mark_rts.c (GC_add_roots_inner): Remove redundant trailing '\n' from the ABORT message. * misc.c (GC_init): Ditto. * os_dep.c (GC_get_main_stack_base, GC_register_data_segments): Ditto. * pthread_stop_world.c (GC_push_all_stacks): Ditto. * pthread_support.c (GC_init_real_syms, start_mark_threads): Ditto.
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mark_rts.c b/mark_rts.c
index 8afefdc..f19093f 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -226,7 +226,7 @@ void GC_add_roots_inner(ptr_t b, ptr_t e, GC_bool tmp)
}
# endif
if (n_root_sets == MAX_ROOT_SETS) {
- ABORT("Too many root sets\n");
+ ABORT("Too many root sets");
}
GC_static_roots[n_root_sets].r_start = (ptr_t)b;
GC_static_roots[n_root_sets].r_end = (ptr_t)e;