Re: [Rpm-maint] [rpm-software-management/rpm] Add %{shescape:...} macro for single quoting with escapes for the shell (#1783)

2021-09-24 Thread Florian Festi
Merged #1783 into master. -- 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/1783#event-5355924327___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Add %{shescape:...} macro for single quoting with escapes for the shell (#1783)

2021-09-23 Thread Panu Matilainen
@pmatilai commented on this pull request. > @@ -1145,6 +1145,29 @@ static size_t doVerbose(MacroBuf mb, rpmMacroEntry me, > ARGV_t argv) return 0; } +static size_t doShescape(MacroBuf mb, rpmMacroEntry me, ARGV_t argv) +{ +char *result, *dst; +const char *src = argv[1]; + +

Re: [Rpm-maint] [rpm-software-management/rpm] Add %{shescape:...} macro for single quoting with escapes for the shell (#1783)

2021-09-22 Thread Demi Marie Obenour
@DemiMarie commented on this pull request. > @@ -1145,6 +1145,29 @@ static size_t doVerbose(MacroBuf mb, rpmMacroEntry me, > ARGV_t argv) return 0; } +static size_t doShescape(MacroBuf mb, rpmMacroEntry me, ARGV_t argv) +{ +char *result, *dst; +const char *src = argv[1]; + +

Re: [Rpm-maint] [rpm-software-management/rpm] Add %{shescape:...} macro for single quoting with escapes for the shell (#1783)

2021-09-22 Thread Florian Festi
Looks good to me. -- 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/1783#issuecomment-924876305___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Add %{shescape:...} macro for single quoting with escapes for the shell (#1783)

2021-09-22 Thread Panu Matilainen
@pmatilai pushed 1 commit. 794617038125580fc94c8570a3bbc0eba3c1008b Use the new shescape macro for :shescape query format too -- You are receiving this because you are subscribed to this thread. View it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] Add %{shescape:...} macro for single quoting with escapes for the shell (#1783)

2021-09-22 Thread Panu Matilainen
This is exactly the same as :shescape query format, hence the name. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/1783 -- Commit Summary -- *