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

skip backslash escape when expand wildcard #340

Merged
merged 1 commit into from
Aug 15, 2018

Conversation

bingbing8
Copy link

argdup = xstrdup(argv[n]);
if (p = colon(argdup))
convertToForwardslash(p);
else
convertToForwardslash(argdup);
if (glob(argdup, GLOB_NOCHECK, NULL, &g)) {
if (glob(argdup, GLOB_NOCHECK | GLOB_NOESCAPE, NULL, &g)) {

Choose a reason for hiding this comment

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

Is it specific to windows? If yes then add #ifdef WINDOWS

Copy link
Author

Choose a reason for hiding this comment

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

we have isdef at line 502

@bingbing8 bingbing8 merged commit 3b30380 into PowerShell:latestw_all Aug 15, 2018
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.

2 participants