Always free locally defined macros when they go out of scope
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 4 Jan 2010 10:20:09 +0000 (12:20 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 4 Jan 2010 10:45:18 +0000 (12:45 +0200)
commitf895acd285366cf58cc3c97b5f188fecbfd782a8
tree5b329324796a06c3a1f79f908a2356842e845b46
parent2c5ea0b1889a86b8ec64e60c36ba42e909ebbdf7
Always free locally defined macros when they go out of scope
- Prior to this, local defines in constructs like %{!?foo: %define foo bar}
  would remain defined until a parametrized macro gets called, causing
  obscure and confusing errors in specs such as RhBug:551971 and countless
  others. Use of %global is now always required for such constructs.
rpmio/macro.c