pmatilai approved this pull request.
Right, I guess the only case where %define/%global can be followed by something
is the "silent grouping" with {} eg ```rpm --eval "%define foo {bar}
%{warn:issue}" --eval "%foo"``` and that behavior doesn't change here.
--
You are receiving this because
Merged #839 into master.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/839#event-264296___
Rpm-maint mailing list
The calculation of the slen parameter was not correct, as it didnt
account for already processed characters. The parameter itself was
also not used to limit the passed string, as the code assumed zero
termination. Thus we can as well simplify the code by using strlen()
on the passed string.
You