Re: [PATCH] terminal: Don't crash on non-ascii chars

2012-08-03 Thread Kristian Høgsberg
On Thu, Aug 02, 2012 at 08:59:43PM +0200, Andre Heider wrote: > isalpha() and isdigit() don't like huge values. > Noticed with ascii-art in the shell prompt. Thanks, committed. > --- > clients/terminal.c |3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/clients/terminal.c b/clients

[PATCH] terminal: Don't crash on non-ascii chars

2012-08-02 Thread Andre Heider
isalpha() and isdigit() don't like huge values. Noticed with ascii-art in the shell prompt. --- clients/terminal.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/terminal.c b/clients/terminal.c index dd35ceb..cbcd1ec 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -2