Solaris mktime with multiple timezones

Olson, Arthur David (NCI) olsona at dc37a.nci.nih.gov
Mon Nov 23 18:33:50 UTC 1998


I compiled the small program (bugtest.c) mentioned in the letter below using the
latest elsie.nci.nih.gov source;
the program ran okay. As Scott mentions, folks on the mailing list probably do
need to be aware of the bug.

				--ado

	From:	Scott Harrington [SMTP:seh4 at ix.netcom.com]
	Sent:	Friday, November 06, 1998 1:16 PM
	Subject:	BUG: Solaris mktime with multiple timezones

	I have posted the attached message to comp.unix.solaris, so replies
	should probably be posted there.  I wanted to notify this mailing list
	since the bug affects those who use multiple time zones in their
	programs...
	I have uncovered a bug in the mktime() routine found in libc.so.1 and
	libc.a on my SunOS 5.5.1 Generic_103640-12 sun4u sparc SUNW,Ultra-2
	machine:

	-rw-r--r--   1 bin      bin      1155756 Jun 23  1997 /usr/lib/libc.a
	-rwxr-xr-x   1 bin      bin       664760 Jun 23  1997 /usr/lib/libc.so.1

	I have attached a small program which should determine if your system
	has the bug or not.




More information about the tz mailing list