|
From: Nicholas N. <nj...@ca...> - 2004-11-18 12:49:07
|
CVS commit by nethercote:
Replace magic number with proper constant.
MERGED FROM HEAD
M +2 -1 vg_errcontext.c 1.58.2.3
--- valgrind/coregrind/vg_errcontext.c #1.58.2.2:1.58.2.3
@@ -338,5 +338,6 @@ static void gen_suppression(Error* err)
Int stop_at = VG_(clo_backtrace_size);
- if (stop_at > 4) stop_at = 4; /* At most four names */
+ /* At most VG_N_SUPP_CALLERS names */
+ if (stop_at > VG_N_SUPP_CALLERS) stop_at = VG_N_SUPP_CALLERS;
vg_assert(stop_at > 0);
|