Ticket #45 (closed defect: fixed)
Opened 7 years ago
Last modified 5 years ago
Implement dynamic macro expansion
Reported by: FlorianFesti Assigned to: pmatilai Priority: minor Milestone: rpm-4.9.0 Component: rpm Version: RPM Development Keywords: Cc:
Description
current implementation passes fixed sized buffers to expand macros
Change History
03/05/09 13:18:52 changed by FlorianFesti
- milestone set to rpm-4.8.0.
04/22/09 08:16:30 changed by FlorianFesti
- milestone deleted.
10/06/10 07:09:00 changed by pmatilai
- status changed from new to assigned.
- milestone set to rpm-4.9.0.
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.
01/05/11 06:54:40 changed by pmatilai
- status changed from assigned to closed.
- resolution set to fixed.
Considering this done, the spec parser part is tracked separately in ticket #814 “Eliminate static buffer from spec parsing (new)”.