Dynamically reallocate macro expansion buffer (ticket #45)
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 27 Sep 2010 11:05:37 +0000 (14:05 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 27 Sep 2010 11:55:12 +0000 (14:55 +0300)
commit49f99b86566bf71e1ebd8be4da29953aaf042b79
tree195784aa04848dfdb1dfe309bafd89b8db65fd2d
parent61a3fc45234b532bf609be295c551b7bc3822e3f
Dynamically reallocate macro expansion buffer (ticket #45)
- Eliminate the underlying limitation of macro expansion limit by
  growing the buffer as needed when adding characters to it. This
  doesn't fix the entire issue yet however: expandU() and expandMacros()
  are still limited to caller-specified buffer size, and output
  from lua-macros isn't dynamically resized. One step at a time...
rpmio/macro.c