[asterisk-dev] language setting in VM_DATE field of voicemail
clegall at proformatique.com
clegall at proformatique.com
Thu Jul 19 08:27:55 CDT 2007
Hi,
I'd like your feedback as concerning a patch I submitted to the Mantis,
dealing with the language setting in voicemail (# 10160).
Of course, people outside english-speaking countries would be more
sensitive to this issue.
Since the setlocale() syscall is not thread-safe (my first post), I
proposed to use strftime_l().
I was answered 2 objections there :
* "it is not in Linux nor in FreeBSD" : my development distribution is
Debian Linux (Etch) and this function is in libc6-dev package, though
there is no man page for it. And it compiles OK for Asterisk.
What about other Linux distribs ? I don't know for FreeBSD.
* my "environment needs to be set correctly" :
If the point here is what I understand as LC_ALL, LC_TIME and LANG, they
ARE set, to "fr_FR at euro" more precisely, and these variables will be
used only if a function call attempts to use them.
So if anybody gets the point, I'd like to understand what's meant.
Anyway, we will probably apply this patch for our own customers, since
"Fri" is not obvious for everyone here ...
Thanks,
--
Corentin LE GALL
Proformatique - 67 rue Voltaire - 92800 Puteaux
Tel. : 01 41 38 99 60 - Fax. : 01 41 38 99 70
http://www.proformatique.com
More information about the asterisk-dev
mailing list