Commit 7e7c72b
committed
Use MB_CUR_MAX == 6 by default
Internally, Cygwin already uses __utf8_mbtowc(), even if it still claims
to use the "ASCII" charset.
But the `MB_CUR_MAX` value (which is not actually a constant, but
dependent on the current locale) was still 1, which broke the initial
`globify()` call while parsing the the command-line in `build_argv()`
for non-ASCII arguments.
This fixes git-for-windows/git#2189
Signed-off-by: Johannes Schindelin <[email protected]>1 parent 6f2afa8 commit 7e7c72b
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| |||
0 commit comments