On Tue, 30 Nov 2004, Philip Hazel wrote:
>
> /* The C standard says that the equivalent of setlocale(LC_ALL, "C") is obeyed
> at the start of a program; however, it seems that some environments do not
> follow this. A "strange" locale can affect the formatting of timestamps, so we
> make quite sure. */
>
> setlocale(LC_ALL, "C");
>
> Looks like it needs to re-do that call on the return from Perl...
It might be a good idea to hard-code the day and month names in tod.c,
since it doesn't really need the complexity of strftime and it doesn't
need (or want) any localization.
However that won't deal with other lurking locale sensitivities.
Tony.
--
f.a.n.finch <dot@???>
http://dotat.at/
MALIN HEBRIDES: NORTHEAST 4 OR 5 INCREASING 6. RAIN LATER. GOOD BECOMING
MODERATE.