delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/01/05:38:32

Subject: Re: New time routines
To: roe2 AT midway DOT uchicago DOT edu (Cave Newt)
Date: Thu, 1 Sep 1994 09:23:31 +0200 (MET DST)
From: Henrik Storner <storner AT olicom DOT dk>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

Greg Roelofs writes:

> As Eli and others have written, the posixrules file is all that is re-
> quired for basic TZ settings to work, and I can live with distributing
> that if need be.  I have yet to see any details on where this file is
> supposed to be installed or what environment variables are required

This is determined by the tzdir() function in ctime.c . The beta3 version
has code for the following places:

   - a directory pointed to by the TZDIR env. variable
   - the subdirectory 'zoneinfo' below DJDIR
   - current directory

used in that order.
-- 
Henrik Storner        | "Man is the best computer we can put aboard a space-
(storner AT olicom DOT dk)   |  craft ... and the only one that can be mass produced 
System Engineering    |  with unskilled labor."
Olicom Denmark        |                                   Wernher von Braun

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019