Commit d51400c
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 <[email protected]>1 parent 790823e commit d51400c
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3244 | 3244 | | |
3245 | 3245 | | |
3246 | 3246 | | |
| 3247 | + | |
| 3248 | + | |
3247 | 3249 | | |
3248 | 3250 | | |
3249 | 3251 | | |
| |||
0 commit comments