[Rpm-maint] [rpm-software-management/rpm] Macro file comment loading "regression" (#1659)

Panu Matilainen notifications at github.com
Tue Apr 27 11:33:11 UTC 2021


> That also happens without the patch.

Oh, sorry. I thought I had a minimal reproducer but it was in a bit of a haste (https://bugzilla.redhat.com/show_bug.cgi?id=1953910 is the original case) so I missed the some further subtleties. It indeed relates to the empty newlines, the real reproducer being:

```
%xmacro1 foo
# %{
%xmacro2 bar

%xmacro3 zzz
```

...and whether xmacro3 gets defined depends on whether the patch is applied or not. And with this it all actually fits together in how the heck does that patch change the behavior in the original case :sweat_smile: 

-- 
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/issues/1659#issuecomment-827536521
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210427/f588f7ac/attachment-0001.html>


More information about the Rpm-maint mailing list