зеркало из https://github.com/microsoft/git.git
Merge branch 'tb/char-may-be-unsigned' into maint
Build portability fix. * tb/char-may-be-unsigned: path.c: char is not (always) signed
This commit is contained in:
Коммит
85eb0f162c
2
path.c
2
path.c
|
@ -1369,7 +1369,7 @@ only_spaces_and_periods:
|
||||||
saw_tilde = 1;
|
saw_tilde = 1;
|
||||||
} else if (i >= 6)
|
} else if (i >= 6)
|
||||||
return 0;
|
return 0;
|
||||||
else if (name[i] < 0) {
|
else if (name[i] & 0x80) {
|
||||||
/*
|
/*
|
||||||
* We know our needles contain only ASCII, so we clamp
|
* We know our needles contain only ASCII, so we clamp
|
||||||
* here to make the results of tolower() sane.
|
* here to make the results of tolower() sane.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче