And the patch :P Fwd: [Patch] warning in setlocale()

2009-05-26 Thread Ángel Alonso
Sorry I forget to attach the patch. -- Forwarded message -- From: Ángel Alonso fe...@archlinux.us Date: Mon, 25 May 2009 13:48:55 -0700 Subject: [Patch] warning in setlocale() To: awesome-devel@naquadah.org Shows a warning if the locale cannot be set. I attach the patch. NOTE:

Re: And the patch :P Fwd: [Patch] warning in setlocale()

2009-05-26 Thread Julien Danjou
At 1243318849 time_t, Ángel Alonso wrote: From 92761316de40b0cac70dd5eca34ed72d7a84e07c Mon Sep 17 00:00:00 2001 From: feler fe...@archlinux.us Date: Tue, 26 May 2009 22:40:20 -0700 Subject: [PATCH] warning_setlocale --- awesome.c |3 ++- 1 files changed, 2 insertions(+), 1

Re: And the patch :P Fwd: [Patch] warning in setlocale()

2009-05-26 Thread Ángel Alonso
Yes it can happen (it's rare, but a cause to put a simple warning), and if it has an error the locale will be set to POSIX (default locale). The locale LC_CTYPE, affects the behavior of regular expressions, character classification, character conversion functions, and wide-character functions.