-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ninja: Use platform dependent quote instead of shlex.quote() in gcc_rsp_quote() #12647
Conversation
That listing error looks relevant |
Ok, so just purge the import yeah? Should i just make an additional commit or what would you like? |
I'll be gone until the middle of the first january week, feel free to close this if you wish, I'll make a new PR when I'm back in that case. |
6ae4fb8
to
2d6fcc6
Compare
2d6fcc6
to
14d9134
Compare
I have ammended the commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Why is the location of the function moved around in the file? |
quote_func is defined until after where the gcc_rsp function was originally defined |
The order doesn't strictly matter since It's a bit neater to follow the logic without moving it, but not a big deal. |
I am very sceptical that this change is correct. The unstatated assumption behind #12643 is that it's possible to write a
Even on pure Unix, this isn't 100% right, because things like It might be that meson just doesn't (currently) generate response files with problematic contents, but I suspect this is probably going to break down where these quoting styles are just incompatible (so perhaps something involving quoting a (As a thought experiment, maybe consider what happens if I've written some bonkers tool which defines it's response file quoting style involves using some bizaare non-standard quoting mechanism. I can write a |
See also #12643