Solaris mktime with multiple timezones

Olson, Arthur David (NCI) olsona at
Mon Nov 23 18:33:50 UTC 1998

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


	From:	Scott Harrington [SMTP:seh4 at]
	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
	I have uncovered a bug in the mktime() routine found in and
	libc.a on my SunOS 5.5.1 Generic_103640-12 sun4u sparc SUNW,Ultra-2

	-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/

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

More information about the tz mailing list