Artifacts Associated With Ticket 574573ffffffffff
Ticket change [6a5701e875] (rid 128133) by techentin on 2002-06-27 13:24:34:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Tcl Versions 8.3.4 and 8.4a4. Platform DEC Alpha OSF1 v4.0 DEC C V5.8-009 on Digital UNIX V4.0 ==== clock-3.2 clock format tests FAILED ==== Contents of test case: # TCL_USE_TIMEZONE_VAR catch {set oldtz $env(TZ)} set env(TZ) PST set x {} append x [clock format 863800000 -format %Z -gmt 1] append x [set env(TZ)] catch {unset env(TZ); set env(TZ) $oldtz} set x ---- Result was: CSTPST ---- Result should have been: GMTPST ==== clock-3.2 FAILED On closer inspection, it appears that [clock format] returns the wrong timezone only one time after changing the env(TZ) variable. Subsequent calls to [clock format] return the proper timezone. for example: ./tclsh % set env(TZ) % clock format 863800000 -format %Z -gmt 1 GMT % set env(TZ) PST PST % clock format 863800000 -format %Z -gmt 1 CST % clock format 863800000 -format %Z -gmt 1 GMT % clock format 863800000 -format %Z -gmt 1 GMT % It doesn't seem to matter if env(TZ) is set prior to entering tclsh. This problem also does not appear on HP-UX or Win32. Maybe it is a 64 bit thing. - foundin initialized to: "obsolete: 8.4a4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "techentin"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "clock format gets wrong timezone, once"
- type initialized to: "Bug"
Ticket change [f2680a0d2e] (rid 109529) by dkf on 2002-06-27 21:05:18:
- assignee changed to: "rmax"
- icomment:
Logged In: YES user_id=79902 Reinhard was doing something in this are recently. (Can't reproduce on Solaris/SPARC)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [7b75e2f8ee] (rid 90517) by dkf on 2002-06-27 21:06:59:
- subsystem changed to: "06. Time Measurement"
Ticket change [4534c1214c] (rid 116841) by rmax on 2002-06-29 22:54:34:
- icomment:
Logged In: YES user_id=124643 My changes only affect locales, not timezones, and I only changed 8.4, not 8.3. It also doesn't happen on any of the many 32 and 64 bit platforms I have at hand. Maybe the systenm's strftime() function is to blame.
- login: "rmax"
- mimetype: "text/plain"
- username: "rmax"
- icomment:
Ticket change [b364e79b74] (rid 124853) by techentin on 2002-07-03 04:47:34:
- icomment:
Logged In: YES user_id=43494 Well, if I've got the only hardware on the planet that is affected, then it may be difficult to figure out. Our somewhat crusty alpha doesn't have a functioning debugger, so I can't supply any insights at this time.
- login: "techentin"
- mimetype: "text/plain"
- username: "techentin"
- icomment:
Ticket change [5eedc99329] (rid 115720) by rmax on 2003-07-31 21:44:54:
- icomment:
Logged In: YES user_id=124643 Any news on this one? Otherwise I suggest to close it.
- login: "rmax"
- mimetype: "text/plain"
- username: "rmax"
- icomment:
Ticket change [446c8e8349] (rid 116706) by techentin on 2003-07-31 22:02:17:
- icomment:
Logged In: YES user_id=43494 Closing this report is fine with me. I haven't heard anyone else complain about clock-3.2 failing. Our old alpha box isn't online any more, so I can't even reproduce the problem.
- login: "techentin"
- mimetype: "text/plain"
- username: "techentin"
- icomment:
Ticket change [ef8fa8da11] (rid 109013) by rmax on 2003-07-31 22:21:28:
- closedate changed to: "2003-07-31T15:21:28"
- closer changed to: "rmax"
- resolution changed to: "Works For Me"
- status changed to: "Closed"