[Rpm-maint] [rpm-software-management/rpm] Support new %[ ] expression expansion syntax (#846)

pavlinamv notifications at github.com
Thu Sep 19 10:52:52 UTC 2019


pavlinamv commented on this pull request.



> @@ -1349,6 +1386,13 @@ expandMacro(MacroBuf mb, const char *src, size_t slen)
 	    doShellEscape(mb, s, (se - 1 - s));
 	    s = se;
 	    continue;
+	case '[':		/* %[...] expression expansion */
+	    if (mb->macro_trace)
+		printMacro(mb, s, se);
+	    s++;	/* skip ( */

```
s++;	/* skip ( */
```
->
```
s++;	/* skip [ */
```

-- 
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/pull/846#pullrequestreview-290481295
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190919/56190f17/attachment.html>


More information about the Rpm-maint mailing list