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

Re: SVNNotify - not setting date in header

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 21 Jun 2011 11:22:11 +0200

On Tue, Jun 21, 2011 at 12:14:34PM +0300, Daniel Shahaf wrote:
> Stefan Sperling wrote on Tue, Jun 21, 2011 at 10:38:01 +0200:
> > On Tue, Jun 21, 2011 at 09:24:21AM +0100, Miguel Almeida wrote:
> > > And also, what does
> > > the LC_ALL=C part mean in the line you suggest?
> >
> > It implies LC_CTIME=C, which for in some cases controls how the date
> > will be formatted on systems that support the LC_TIME locale.
> > Setting LC_TIME to "C" guarantees the default POSIX formatting
> > rules will be used.
>
> What Stefan and Ryan said.
>
> I just want to add that if LC_ALL and LC_CTIME are both set then the
> former wins, so portable code should set LC_ALL rather than LC_CTIME (to
> account for LC_ALL=randomvalue being possibly set in the environment).

Ooops, it's actually LC_TIME, not LC_CTIME. Typo on my part.
Received on 2011-06-21 11:22:52 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.