[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 21 Jun 2011 12:14:34 +0300

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).
Received on 2011-06-21 11:15:20 CEST

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