[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r11797 - trunk/subversion/svnserve

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-11-12 22:25:57 CET

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

This is an archived mail posted to the Subversion Dev mailing list.