FW: tz library compilation problems, etc.
-----Original Message----- From: prj@po.cwru.edu [mailto:prj@po.cwru.edu] Sent: Friday, January 11, 2002 9:49 PM To: tz@elsie.nci.nih.gov Subject: tz library compilation problems, etc. I had to make some changes to difftime.c to get it to compile: when giving a type name to sizeof (lines 35 and 37), it must be parenthesized. "make install" installs the tzselect man page, but not tzselect itself. Is that intended? Have you considered merging this library with any whole libc, such as glibc or dietlibc? Or has it already been merged? paul
<<On Mon, 14 Jan 2002 10:54:12 -0500, "Olson, Arthur David (NCI)" <olsona@dc37a.nci.nih.gov> said:
Have you considered merging this library with any whole libc, such as glibc or dietlibc? Or has it already been merged?
Many vendors include the Olson time zone library as a part of their C libraries, including Sun, Compaq, Wind River, and Apple; it is also a standard part of the BSD and GNU C libraries. -GAWollman
From: prj@po.cwru.edu [mailto:prj@po.cwru.edu] Sent: Friday, January 11, 2002 9:49 PM
I had to make some changes to difftime.c to get it to compile: when giving a type name to sizeof (lines 35 and 37), it must be parenthesized.
The type names are already parenthesized in difftime.c, and have been parenthesized ever since difftime started using sizeof (in 1994). Perhaps your copy of difftime.c was corrupted? You can get the canonical source from <ftp://elsie.nci.nih.gov/pub/>.
"make install" installs the tzselect man page, but not tzselect itself. Is that intended?
Not really. I guess tzselect should be installed in the same directory that zic and zdump are. I'll include something like that in my next proposed change. Thanks for your bug report.
Paul Eggert <eggert@twinsun.com> wrote:
From: prj@po.cwru.edu [mailto:prj@po.cwru.edu] Sent: Friday, January 11, 2002 9:49 PM
I had to make some changes to difftime.c to get it to compile: when giving a type name to sizeof (lines 35 and 37), it must be parenthesized.
The type names are already parenthesized in difftime.c, and have been parenthesized ever since difftime started using sizeof (in 1994). Perhaps your copy of difftime.c was corrupted? You can get the canonical source from <ftp://elsie.nci.nih.gov/pub/>.
I just re-downloaded tzcode2001d.tar.gz (MD5: 29e0615555cbd6324894d68cf559d64b). That difftime.c does not have the parentheses. Is this list open to the public? How do I subscribe? paul
participants (4)
-
Garrett Wollman
-
Olson, Arthur David (NCI)
-
Paul Eggert
-
prj@po.cwru.edu