diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-03-29 11:03:54 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-03-29 11:03:54 +0200 |
commit | d5ee385b4b5f19934a00408a2addc70f965ea4a9 (patch) | |
tree | 7f023c601b9b04dbd16273e47f3286f7ae61011e /strlcpy.c | |
parent | 880256b8bfde746cd54993f3abcb4dc648895af7 (diff) |
compatibility: reduce the assumption the builtin libc locale is ASCII-compatible
This is not clearly defined by the C99 standard.
Define ctype-like macros to force it to be ASCII / UTF-8 (not extended ASCII or
something like noticed on OpenBSD 3.8).
(In practise modern libc libraries are all ASCII and UTF-8-compatible. Otherwise
this would break many programs)
Diffstat (limited to 'strlcpy.c')
0 files changed, 0 insertions, 0 deletions