Commit 94fe5f4
committed
dir_inside_of(): handle directory separators correctly
On Windows, both the forward slash and the backslash are directory
separators. Which means that `a\b\c` really is inside `a/b`. Therefore,
we need to special-case the directory separators in the helper function
`cmp_icase()` that is used in the loop in `dir_inside_of()`.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 2145fbc commit 94fe5f4
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3122 | 3122 | | |
3123 | 3123 | | |
3124 | 3124 | | |
| 3125 | + | |
| 3126 | + | |
3125 | 3127 | | |
3126 | 3128 | | |
3127 | 3129 | | |
| |||
0 commit comments