Commit cfb4335
committed
TSCBasic: correct handling of normalizing relative paths
Relative paths which are empty or `.` need to be handled as a special
case as PathCanonicalizeW is meant to canonicalize absolute paths, and
will convert these cases to the root of the current drive `\`. This
enables a number of swift-driver tests to now pass on Windows.1 parent f9bbd6b commit cfb4335
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | | - | |
621 | | - | |
622 | | - | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
623 | 628 | | |
624 | | - | |
625 | 629 | | |
626 | 630 | | |
627 | 631 | | |
| |||
0 commit comments