-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Command line routines for OpenBSD. #32514
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
Conversation
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.
Some notes inline.
38ff4e7
to
de2a674
Compare
To streamline things a little, pushed change assuming that CommandLine.unsafeArgv need not return a copy. If that's not valid, I'll revisit. |
You still need to return a copy, you just know how long the buffer is going to be so you can save a needless vector allocation by just copying the strings directly into the result buffer. |
Thanks. I fixed WASI and Windows in #32516. |
de2a674
to
b766e32
Compare
b766e32
to
beb3077
Compare
Heh, looks like |
beb3077
to
a01d543
Compare
3f868a7
to
b1f29d9
Compare
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.
Thanks for keeping up with my kvetching. This looks great!
@swift-ci please smoke test |
Sure, I'll do that in a followup PR. |
@swift-ci please smoke test |
@swift-ci clean smoke test macOS |
1 similar comment
@swift-ci clean smoke test macOS |
⛵ |
As discussed in swiftlang#32514, this just runs clang-format over this file.
No description provided.