Commit e326950
path: fix win32 relative() for UNC paths
win32 normalize() will output a trailing '\' for some UNC paths. trim
them before processing
Change by @mscdex
Add basic UNC path tests to win32 relative()
PR-URL: #5456
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Roman Reiss <me@silverwind.io>1 parent b33879d commit e326950Copy full SHA for e326950
File tree
Expand file treeCollapse file tree
2 files changed
+18
-3
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+18
-3
lines changedOpen diff view settings
Collapse file
+12-2Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
585 | 585 | |
586 | 586 | |
587 | 587 | |
| 588 | + |
588 | 589 | |
| 590 | + |
| 591 | + |
| 592 | + |
| 593 | + |
589 | 594 | |
590 | 595 | |
591 | 596 | |
| ||
594 | 599 | |
595 | 600 | |
596 | 601 | |
| 602 | + |
597 | 603 | |
| 604 | + |
| 605 | + |
| 606 | + |
| 607 | + |
598 | 608 | |
599 | 609 | |
600 | 610 | |
| ||
662 | 672 | |
663 | 673 | |
664 | 674 | |
665 | | - |
| 675 | + |
666 | 676 | |
667 | 677 | |
668 | 678 | |
669 | 679 | |
670 | | - |
| 680 | + |
671 | 681 | |
672 | 682 | |
673 | 683 | |
|
Collapse file
+6-1Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
471 | 471 | |
472 | 472 | |
473 | 473 | |
474 | | - |
| 474 | + |
| 475 | + |
| 476 | + |
| 477 | + |
| 478 | + |
| 479 | + |
475 | 480 | |
476 | 481 | |
477 | 482 | |
|
0 commit comments