Bug 9666 - tcl/tk applications crash when seeing CEST time zone
Summary: tcl/tk applications crash when seeing CEST time zone
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: jseger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-01-24 17:30 UTC by dirk.meyer
Modified: 1999-04-04 01:00 UTC (History)
0 users

See Also:


Attachments
file.shar (1.04 KB, text/plain)
1999-01-24 17:30 UTC, dirk.meyer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description dirk.meyer 1999-01-24 17:30:01 UTC
	FreeBSD set to use TimeZone "CET".
	During active daylight-daving-time the name of the timezone
	by all date funtions results in "CEST".
	I assume this timezone is correct.
	If such an date string is parsed by tcl, it will generate
	an runtime error.

Fix: add this patch to
		ports/lang/tcl75
		ports/lang/tcl76
		ports/lang/tcl80
		ports/lang/tcl81
		ports/lang/tclX75
		ports/lang/tclX80

	till it can be fixed in the main distribution.
How-To-Repeat: 
	running an application which try to parse a date/time string.
	fist recgnized in port: mail/exmh by reading an message
	created with daylight-saving-time on.

	run the inlcuded example:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	test-date.tcl
#
echo x - test-date.tcl
sed 's/^X//' >test-date.tcl << 'END-of-test-date.tcl'
X#!/usr/local/bin/wish
X#	Id$: test-date.tcl	1.70	24.01.1999
Xset Out [clock scan "Mon, 28 Jul 97 19:53 GMT" ]
Xputs stdout "GMT  $Out"
Xset Out [clock scan "Mon, 28 Jul 97 19:53 MET" ]
Xputs stdout "MET  $Out"
Xset Out [clock scan "Mon, 28 Jul 97 19:53 CET" ]
Xputs stdout "CET  $Out"
Xset Out [clock scan "Mon, 28 Jul 97 19:53" ]
Xputs stdout "(NO) $Out"
Xset Out [clock scan "Mon, 28 Jul 97 19:53 MEST" ]
Xputs stdout "MEST $Out"
Xset Out [clock scan "Mon, 28 Jul 97 19:53 CEST" ]
Xputs stdout "CEST $Out"
Xexit
END-of-test-date.tcl
exit
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 1999-03-09 12:59:51 UTC
Responsible Changed
From-To: freebsd-ports->jseger

Maintainer for tcl81.Maintainer for lang/tcl81. 

Comment 2 Sheldon Hearn 1999-03-09 13:03:52 UTC
Hi Dirk,

The "problem" you're seeing isn't limited to CEST. Your test problem
shows the same behaviour for SAST (South African Standard Time). I'm not
sure your fix addresses the real problem.

Have you had feedback from the tcl people?

Ciao,
Sheldon.
Comment 3 jseger freebsd_committer freebsd_triage 1999-04-04 01:00:37 UTC
State Changed
From-To: open->closed

Committed, thanks.