John Kearney <dethrop...@web.de> writes:

> Fix:
> iff --git a/builtins/printf.def b/builtins/printf.def
> index 9eca215..b155160 100644
> --- a/builtins/printf.def
> +++ b/builtins/printf.def
> @@ -859,7 +859,7 @@ tescape (estart, cp, lenp, sawc)
>          *cp = '\\';
>          return 0;
>        }
> -    if (uvalue <= UCHAR_MAX)
> +    if (uvalue <= CHAR_MAX)

CHAR_MAX has nothing at all to do with UTF-8.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to