Repository navigation
gh-161805: Match -arch ARG at the end of the string too - #162097
Conversation
Drop the following \s so the -arch argument matches before either whitespace or end-of-string. Replace with '' (rather than ' ') correspondingly, to preserve existing rewriting behaviour.
ned-deily
left a comment
There was a problem hiding this comment.
The PR looks good. Thanks, @jmarshall!
|
Thanks @jmarshall for the PR, and @ned-deily for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @jmarshall for the PR, and @ned-deily for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
GH-162854 is a backport of this pull request to the 3.15 branch. |
|
GH-162855 is a backport of this pull request to the 3.14 branch. |
|
I realise this issue was discovered a few weeks after the 3.13 branch switched to security support, but is there a case to apply this fix to that branch too? People will continue to build packages for 3.13, and at present 3.13 will be soon be the only release that will continue to exhibit this problem. |
While the risk of breaking anything is quite small, our policy on what gets backported to branches in the security-fix-only phase is pretty clear. It would be up to the 3.13 release manager to grant an exception. @Yhg1s? |
|
Drop the following
\sso the-archargument matches before either whitespace or end-of-string. Replace with''(rather than' ') correspondingly, to preserve existing rewriting behaviour.