mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Small improvement for __isctype(): don't use __mb_sb_limit but
hardcode 128 here instead, since default locale never define anything above 127 char.
This commit is contained in:
parent
6a564b46b6
commit
eb75c0a0d0
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ __sbistype(__ct_rune_t _c, unsigned long _f)
|
|||
static __inline int
|
||||
__isctype(__ct_rune_t _c, unsigned long _f)
|
||||
{
|
||||
return (_c < 0 || _c >= __mb_sb_limit) ? 0 :
|
||||
return (_c < 0 || _c >= 128) ? 0 :
|
||||
!!(_DefaultRuneLocale.__runetype[_c] & _f);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue