Opened 7 years ago
Last modified 5 years ago
Reported by: FlorianFesti Assigned to: pmatilai Priority: minor Milestone: rpm-4.9.0 Component: rpm Version: RPM Development Keywords: Cc:
current implementation passes fixed sized buffers to expand macros
This has been implemented in the macro engine itself as of commit 49f99b86566bf71e1ebd8be4da29953aaf042b79. However the spec parser still uses the older expandMacros() API which is limited by caller-specified preallocated buffer. As rpmExpand() doesn't return error codes, a new API is needed to take advantage of the dynamic buffer expansion in the spec parser.
Considering this done, the spec parser part is tracked separately in ticket #814 “Eliminate static buffer from spec parsing (new)”.