From 62acbd59d661fa8c3af7018f123364efb47ac65e Mon Sep 17 00:00:00 2001 From: Gleb Fotengauer-Malinovskiy Date: Thu, 24 May 2018 13:43:56 +0300 Subject: [PATCH] macro.c: increase maximal macro depth --- rpmio/macro.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpmio/macro.c b/rpmio/macro.c index e07fd32..46ef86c 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -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) {