[PATCH 1/1] paint visual host key with unicode box-drawing characters

Alex Bligh alex at alex.org.uk
Mon Jul 6 20:33:58 AEST 2015


On 6 Jul 2015, at 11:05, Christian Hesse <list at eworm.de> wrote:

> +#ifdef HAVE_LOCALE_H
> +	char    *locale;
> +	char    *border_utf8[]  = { "┏", "━", "┓", "┃", "┗", "┛" };
> +#endif
> +	char    *border_ascii[] = { "+", "-", "+", "|", "+", "+" };
> +	char   **border;

What if LOCALE_H is present at compile time but the binary is then
run in a non-unicode locale?

-- 
Alex Bligh






More information about the openssh-unix-dev mailing list