diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2019-03-14 16:21:36 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2019-03-14 16:21:36 +0000 |
commit | 5f1a7fbe2f8cd57fa7afd4924620468a10b957fe (patch) | |
tree | 0378941889c4c23afb5d5eeb27face9c941062b9 /libexec/mail.local | |
parent | f0ad0ef22c330a46e5b5470a527d495219a7da89 (diff) |
Cleanup and bugfix:
When looking for uppercase characters, iterate over multibyte
characters with the standard function mbtowc(3) rather than with
the buggy and outdated step_char(), skipping invalid bytes,
and correctly use iswupper(3) instead of the inapplicable isupper(3).
OK stsp@
Diffstat (limited to 'libexec/mail.local')
0 files changed, 0 insertions, 0 deletions