macro.c: increase maximal macro depth

This commit is contained in:
Gleb Fotengauer-Malinovskiy 2018-05-24 13:43:56 +03:00
parent ea7ca90347
commit 62acbd59d6

View File

@ -87,7 +87,7 @@ typedef /*@abstract@*/ struct MacroBuf_s {
/*@-exportlocal -exportheadervar@*/
#define MAX_MACRO_DEPTH 16
#define MAX_MACRO_DEPTH 24
/*@unchecked@*/
int max_macro_depth = MAX_MACRO_DEPTH;
@ -1594,7 +1594,7 @@ rpmInitMacrofile (const char *macrofile)
/* XXX Assume new fangled macro expansion */
/*@-mods@*/
max_macro_depth = 16;
max_macro_depth = 24;
/*@=mods@*/
while(rdcl(buf, sizeof(buf), fd) != NULL) {