lundblad@tigris.org wrote:
>Modified: trunk/subversion/svnserve/main.c
>Url: http://svn.collab.net/viewcvs/svn/trunk/subversion/svnserve/main.c?view=diff&rev=11797&p1=trunk/subversion/svnserve/main.c&r1=11796&p2=trunk/subversion/svnserve/main.c&r2=11797
>==============================================================================
>--- trunk/subversion/svnserve/main.c (original)
>+++ trunk/subversion/svnserve/main.c Tue Nov 9 13:09:10 2004
>@@ -404,12 +404,8 @@
> apr_socket_listen(sock, 7);
>
> /* svn_cmdline_init() sets up the locale, but when we serve clients, we
>- always want the "C" locale. */
>- if (!setlocale (LC_ALL, "C"))
>- {
>- fprintf(stderr, "Can't set locale back to the \"C\" locale\n");
>- exit(1);
>- }
>+ always want the "C" locale for messages. */
>+ setlocale (LC_MESSAGES, "C");
>
>
This breaks the build on Windows, where LC_MESSAGES isn't defined. We
need to find a better solution, fast.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 12 22:25:56 2004