Mercurial > ~dholland > hg > tradcpp > index.cgi
changeset 114:05d67dd74e1f
Reduce the maximum include depth from 128 to 120.
This way with the default limits on netbsd we hit it before we run out
of file handles.
author | David A. Holland |
---|---|
date | Tue, 11 Jun 2013 13:55:38 -0400 |
parents | 1e7144176a42 |
children | b2f16b2179e9 |
files | place.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/place.c Tue Jun 11 13:55:09 2013 -0400 +++ b/place.c Tue Jun 11 13:55:38 2013 -0400 @@ -106,7 +106,7 @@ pf = placefile_create(place, file, issystem); placefilearray_add(&placefiles, pf, NULL); - if (pf->depth > 128) { + if (pf->depth > 120) { complain(place, "Maximum include nesting depth exceeded"); die(); }