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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On 6 Jul 2015, at 11:05, Christian Hesse <list@xxxxxxxx> 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




_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux