forked from ariadne/pkgconf
main: limit evaluation graph depth to 2000 nodes
This allows us to break out of situations where circular dependencies may arise.feature/tap-sh
parent
b1949e7706
commit
7b322d73e8
2
main.c
2
main.c
|
@ -48,7 +48,7 @@
|
||||||
static unsigned int global_traverse_flags = PKGF_NONE;
|
static unsigned int global_traverse_flags = PKGF_NONE;
|
||||||
|
|
||||||
static int want_flags;
|
static int want_flags;
|
||||||
static int maximum_traverse_depth = -1;
|
static int maximum_traverse_depth = 2000;
|
||||||
|
|
||||||
static char *want_variable = NULL;
|
static char *want_variable = NULL;
|
||||||
static char *sysroot_dir = NULL;
|
static char *sysroot_dir = NULL;
|
||||||
|
|
Loading…
Reference in New Issue