main: limit evaluation graph depth to 2000 nodes

This allows us to break out of situations where circular dependencies may arise.
feature/tap-sh
William Pitcock 2013-02-24 06:42:32 -06:00
parent b1949e7706
commit 7b322d73e8
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -48,7 +48,7 @@
static unsigned int global_traverse_flags = PKGF_NONE;
static int want_flags;
static int maximum_traverse_depth = -1;
static int maximum_traverse_depth = 2000;
static char *want_variable = NULL;
static char *sysroot_dir = NULL;