mirror of
https://github.com/git/git.git
synced 2024-10-28 12:59:41 +01:00
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:
commit
85eb0f162c
1 changed files with 1 additions and 1 deletions
2
path.c
2
path.c
|
@ -1369,7 +1369,7 @@ static int is_ntfs_dot_generic(const char *name,
|
|||
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.
|
||||
|
|
Loading…
Reference in a new issue