Two tzcode fixes

Ulrich Drepper drepper at redhat.com
Tue Dec 5 19:35:03 UTC 2006


Olson, Arthur David (NIH/NCI) [E] wrote:
> I don't believe so. "fromname" is the time zone name that appears in the
> input files;

fromname is the completed file name, an absolute path.

fromfile can be relative name.  If it is, then then filename is extended 
by prepending the common directory name.


In the code the patch is changing symlinkcontents is a first prepended 
with enough ../ to get to the root directory.  Then in your version 
fromfile is appended.  This is wrong when fromfile is not an absolute 
path.  fromname is the correct value.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖



More information about the tz mailing list