On Fri, 12 Nov 2004, [UTF-8] Branko Ä^Libej wrote:
> 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.
>
Hmmm, what's available on that platform then? I thought LC_MESSAGES was
part of ISO C, but I haven't got that standard. Do you have any
suggestions?
That was a simple one-liner:-(
Thanks,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 15 18:16:41 2004