diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-11-21 22:58:09 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-11-21 22:58:09 +0900 |
| commit | 85eb0f162c5e47d37221496030dc49d10f3554a2 (patch) | |
| tree | 3eb6181984352f54369a56608943427aa5a8cc83 | |
| parent | Merge branch 'jk/uploadpack-packobjectshook-fix' into maint (diff) | |
| parent | path.c: char is not (always) signed (diff) | |
| download | git-85eb0f162c5e47d37221496030dc49d10f3554a2.tar.gz git-85eb0f162c5e47d37221496030dc49d10f3554a2.zip | |
Merge branch 'tb/char-may-be-unsigned' into maint
Build portability fix.
* tb/char-may-be-unsigned:
path.c: char is not (always) signed
| -rw-r--r-- | path.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1369,7 +1369,7 @@ only_spaces_and_periods: saw_tilde = 1; } else if (i >= 6) return 0; - else if (name[i] < 0) { + else if (name[i] & 0x80) { /* * We know our needles contain only ASCII, so we clamp * here to make the results of tolower() sane. |
