[Rpm-maint] [rpm-software-management/rpm] rpm's doFoo function tends to expand twice (#313)

Jeff Johnson notifications at github.com
Sat Sep 2 05:05:27 UTC 2017


Ah, got it.

Lots depends on what you expect of %dirname as a "primitive".

If you consider %dirname as, say, strrrchr(str, '/') with appropriate checks on return value, then there isn;t a needs for an expansion per se.

But if you consider %dirname as a dirname(3) argument, then a fully expanded string argument is needed, just like any "primitive" system call.

-- 
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/313#issuecomment-326722443
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170902/e278b603/attachment.html>


More information about the Rpm-maint mailing list