-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #76; parse directory token more carefully.
`cd ../../` was getting misinterpreted because it was being passed directly to GetFileAttributesW, which correctly parses it into an empty string internally. Clink must parse the input line to ensure it is a single token before passing it to GetFileAttributesW. And some commands such as `cd` defeat the directory shortcut feature (if not quoted) even if there's a path that contains them (such as an atual path named "cd\foo").
- Loading branch information
1 parent
df32920
commit af92b5d
Showing
1 changed file
with
85 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters