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
Responsible Changed From-To: freebsd-ports->jseger Maintainer for tcl81.Maintainer for lang/tcl81.
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.
State Changed From-To: open->closed Committed, thanks.