Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'tb/char-may-be-unsigned' into maint
author
Junio C Hamano
<gitster@pobox.com>
Wed, 21 Nov 2018 13:58:09 +0000
(22:58 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 21 Nov 2018 13:58:09 +0000
(22:58 +0900)
Build portability fix.
* tb/char-may-be-unsigned:
path.c: char is not (always) signed
path.c
patch
|
blob
|
history
raw
(from parent 1:
2b15340
)
diff --git
a/path.c
b/path.c
index 34f0f98349a6eccd462614cdf143bb031ca348c8..ba06ec5b2d6cd307c7d30384b056cf8a6c61baa8 100644
(file)
--- a/
path.c
+++ b/
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]
& 0x8
0) {
/*
* We know our needles contain only ASCII, so we clamp
* here to make the results of tolower() sane.