This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] localtime.cc: Point TZDIR to the /usr/share/zoneinfo
On Mon, 1 Dec 2003, Corinna Vinschen wrote:
> On Mon, Dec 01, 2003 at 11:50:39AM -0500, Igor Pechtchanski wrote:
> > On Mon, 1 Dec 2003, Corinna Vinschen wrote:
> > > Should we do some extra stuff to maintain backward compatibility with
> > > the old /usr/local/etc path? I don't think so but...
> > >
> > > Corinna
> >
> > That's pretty much what I suggested in
> > <http://cygwin.com/ml/cygwin-apps/2003-11/msg00443.html>. Right now, the
> > code is not $TZDIR-aware, AFAICS. IMO, having it first check the TZDIR
> > environment variable, and if that's not set, default to the #defined value
> > of TZDIR would be the right solution. Something like (very raw)
>
> Interested to change this to a real patch with ChangeLog and all that?
>
> Corinna
Corinna,
If you don't see anything obviously wrong (or missing) in these changes,
I'll test this and submit a proper patch (eventually).
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton