mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 12:33:24 +00:00
Merge pull request #2778 from ethomson/whitespace_85
don't treat 0x85 as whitespace
This commit is contained in:
commit
171c2ff121
@ -317,12 +317,12 @@ GIT_INLINE(bool) git__isdigit(int c)
|
||||
|
||||
GIT_INLINE(bool) git__isspace(int c)
|
||||
{
|
||||
return (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r' || c == '\v' || c == 0x85 /* Unicode CR+LF */);
|
||||
return (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r' || c == '\v');
|
||||
}
|
||||
|
||||
GIT_INLINE(bool) git__isspace_nonlf(int c)
|
||||
{
|
||||
return (c == ' ' || c == '\t' || c == '\f' || c == '\r' || c == '\v' || c == 0x85 /* Unicode CR+LF */);
|
||||
return (c == ' ' || c == '\t' || c == '\f' || c == '\r' || c == '\v');
|
||||
}
|
||||
|
||||
GIT_INLINE(bool) git__iswildcard(int c)
|
||||
|
Loading…
Reference in New Issue
Block a user