-
Notifications
You must be signed in to change notification settings - Fork 16
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
Minimal workaround to fix bug 4831: handles PATH containing '+' characters #16
Conversation
I'm guessing pull requests for this repo aren't looked at very often? |
Any status update on this? Is everyone busy? Is no one getting notified about this PR? |
@@ -1,10 +1,10 @@ | |||
RELEASE_NUM EQU 0800H | |||
RELEASE_NUM EQU 0750H |
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.
Eh, this change should be removed.
2cafabb
to
3a2aa76
Compare
@@ -36,10 +36,26 @@ unsigned char *_get_filename(CMDLINE_STRUCT *EAX, NFN_STRUCT* ECX, unsigned char | |||
else | |||
{ | |||
*EDI++ = AL; | |||
if (!(FNTBL[AL] & FNTBL_ILLEGAL)) | |||
if (!(FNTBL[AL] & FNTBL_ILLEGAL) || AL == ' ') |
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.
What is the purpose of accepting spaces here?
I'll just merge it and tweak it a bit. Thanks for doing this! |
Minimal workaround to fix bug 4831: handles PATH containing '+' characters
I created a potential workaround for the issue of the PATH environment variable containing '+' characters. If I understand the code correctly, I believe this workaround will silently ignore any folders in the path that contain the '+' character. I would anticipate this most likely occurring on anyone who has notepad++ installed and in their PATH directory. I've included a commented printf statement if anyone wants to use it to verify that the change detects the '+' sign correctly.
Bug Here: https://issues.dlang.org/show_bug.cgi?id=4831