Commit 75cfeea
committed
squash! mingw: keep trailing slashes when switching directories
Actually, we should always keep the trailing slashes as both users of
`normalize_ntpath()` require them: `_wchdir()` wants the slash in
particular when changing the directory to a drive root, and
`readlink()`'s semantics require a trailing slash for symbolic links
pointing to directories.
This fixes #210
Signed-off-by: Johannes Schindelin <[email protected]>1 parent 381a90a commit 75cfeea
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | 340 | | |
345 | 341 | | |
346 | 342 | | |
| |||
622 | 618 | | |
623 | 619 | | |
624 | 620 | | |
625 | | - | |
| 621 | + | |
626 | 622 | | |
627 | 623 | | |
628 | 624 | | |
| |||
2291 | 2287 | | |
2292 | 2288 | | |
2293 | 2289 | | |
2294 | | - | |
| 2290 | + | |
2295 | 2291 | | |
2296 | 2292 | | |
2297 | 2293 | | |
| |||
0 commit comments