Skip to content

Warn about lack of args glob expansion in Windows shell - #45830

Merged
bors merged 1 commit into
rust-lang:masterfrom
kornelski:dosglobs
Nov 8, 2017
Merged

Warn about lack of args glob expansion in Windows shell#45830
bors merged 1 commit into
rust-lang:masterfrom
kornelski:dosglobs

Conversation

@kornelski

Copy link
Copy Markdown
Contributor

Because all shells on Linux/macOS expand globs, and even MinGW on Windows emulates this behavior, it's easy to forget that Windows by itself doesn't support glob expansion. This PR documents this cross-platform difference.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @dtolnay

(rust_highfive has picked a reviewer for you, use r? to override)

@kennytmkennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 7, 2017

@dtolnaydtolnay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Seems good to me once the spelling is correct.

Comment threadsrc/libstd/env.rs Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo, unqoted -> unquoted

@kennytmkennytm added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 7, 2017
@dtolnay

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Nov 7, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 53de42e has been approved by dtolnay

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Nov 8, 2017
Warn about lack of args glob expansion in Windows shell
Because all shells on Linux/macOS expand globs, and even MinGW on Windows emulates this behavior, it's easy to forget that Windows by itself doesn't support glob expansion. This PR documents this cross-platform difference.
bors added a commit that referenced this pull request Nov 8, 2017
Rollup of 4 pull requests
- Successful merges: #45582, #45766, #45830, #45849
- Failed merges:
@bors

bors commented Nov 8, 2017

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #45862) made this pull request unmergeable. Please resolve the merge conflicts.

@bors
bors merged commit 53de42e into rust-lang:masterNov 8, 2017
@kornelski
kornelski deleted the dosglobs branch November 8, 2017 13:13
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-authorStatus: This is awaiting some action (such as code changes or more information) from the author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@kornelski@rust-highfive@dtolnay@bors@kennytm