Skip to content
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

[5.9 🍒] Always quote path arguments when resolving command-lines for libSwiftScan queries #1336

Merged

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Apr 18, 2023

Cherry-pick of #1335

Otherwise, if unquoted paths contain spaces, such paths will become treated as separate strings when we formulate a C string array to pass down to libSwiftScan API entry-points.

Resolves rdar://106712169

…Scan queries

Otherwise, if unquoted paths contain spaces, such paths will become treated as separate strings when we formulate a C string array to pass down to libSwiftScan API entry-points.

Resolves rdar://106712169
@artemcm artemcm requested review from owenv and nkcsgexi April 18, 2023 21:12
@artemcm
Copy link
Contributor Author

artemcm commented Apr 18, 2023

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Apr 19, 2023

Requires apple/swift#65294 to land in a toolchain, first.

@artemcm
Copy link
Contributor Author

artemcm commented Apr 20, 2023

@swift-ci test

1 similar comment
@artemcm
Copy link
Contributor Author

artemcm commented Apr 20, 2023

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Apr 20, 2023

@swift-ci test macOS platform

@artemcm artemcm merged commit b4cd776 into apple:release/5.9 Apr 21, 2023
3 checks passed
@artemcm artemcm deleted the 59ResolveLibScanQueryCommandLinePaths branch April 24, 2023 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants