Commit 381a90a
committed
mingw: keep trailing slashes when switching directories
This is needed so that `_wchdir()` can be used with drive root
directories, e.g. C:\ (`_wchdir("C:")` fails to switch the directory
to the root directory).
This fixes msysgit#359 (in Git for Windows
2.x only, though).
Signed-off-by: Johannes Schindelin <[email protected]>1 parent 18e8d51 commit 381a90a
1 file changed
+6
-5
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 | | |
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
342 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
| |||
621 | 622 | | |
622 | 623 | | |
623 | 624 | | |
624 | | - | |
| 625 | + | |
625 | 626 | | |
626 | 627 | | |
627 | 628 | | |
| |||
2290 | 2291 | | |
2291 | 2292 | | |
2292 | 2293 | | |
2293 | | - | |
| 2294 | + | |
2294 | 2295 | | |
2295 | 2296 | | |
2296 | 2297 | | |
| |||
0 commit comments