diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-11-06 15:50:22 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-06 15:50:22 +0900 |
commit | 1f8e7dc4da901c33b52ea632ab651838abfb4864 (patch) | |
tree | 022c8c44ab3dd72709e1c0a2eddc6916a99a870d | |
parent | Merge branch 'js/mingw-ns-filetime' (diff) | |
parent | path.c: char is not (always) signed (diff) | |
download | tgif-1f8e7dc4da901c33b52ea632ab651838abfb4864.tar.xz |
Merge branch 'tb/char-may-be-unsigned'
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. |