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

Re: svnversion locale error LANG LC_ALL

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-10-08 21:28:27 CEST

On Fri, 8 Oct 2004, Russell E Glaue wrote:

> Peter N. Lundblad wrote:
>
> >Are you sure you have your locale set up correctly. Subversion checks the
> >return value of setlocale, which many other programs don't. I don't know
> >how OS X handles locales. I've successfully used svnversion with
> >LANG=sv_SE on Linux.
> >
> What Operating System are you using or referring to?

I'm on Debian GNU/Linux.

> 'setlocale' is not a binary that exists on Mac OS X 10.2.8 nor Fedora
> Core 2 Linux.
> I had to have my locale set up this way ( LANG=en_US ) in order to get
> earlier (0.17 - 0.37) subversion releases to work on the Mac and Linux
> workstations deployed in our company.
>
setlocale is a C library function used to get the running program to use a
specific locale. It can return an error on failure, but many programs just
call it without checking the return value.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 8 21:13:45 2004

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