Mercurial > ~dholland > hg > tradcpp > index.cgi
diff place.c @ 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 | 2b0b61fd1a36 |
children | 26ee741196d1 |
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(); }