Artifacts Associated With Ticket 2913616
Ticket change [2a782c466f] (rid 118579) by john13a on 2009-12-13 10:52:10:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
tested with tcl8.5.7 and 8.6b1.1, win % ::safe::interpCreate test test % ::safe::setLogCmd puts stderr % test eval package require msgcat ... (Some glob notices) ERROR for slave test : can't read "::tcl_platform(os)": no such element in array script error I think, it should be at least catched.
- foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "john13a"
- subsystem initialized to: "30. msgcat Package"
- title initialized to: "msgcat does not work with Safe Base"
- type initialized to: "Bug"
Ticket change [d53fb074fd] (rid 123589) by dgp on 2009-12-14 21:35:20:
- priority changed to: "9 Immediate"
Ticket change [51a53d70d6] (rid 126165) by dgp on 2009-12-15 05:07:21:
- icomment:
Problem arose in versions 1.3.4 and 1.4.2 of msgcat, which came with Tcl releases since 8.4.8. Passing to das who introduced the access of the tcl_platform(os) variable, for advice on how best to fallback when variable is not present. Not blocking 8.6b2 for this. Not new.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [03efa83ce6] (rid 119909) by dgp on 2009-12-15 05:07:22:
- assignee changed to: "das"
- priority changed to: "5 Medium"
Ticket change [ae0b0df3ff] (rid 101564) by das on 2009-12-15 06:41:54:
- assignee changed to: "dgp"
- icomment:
thanks for pointing this out. it's not completely clear to me what is gained by not having tcl_platform(os) present in a safe interp, when tcl_platform(platform) is... but in case that is done for a good reason, the check for tcl_platform(os) in msgcat.tcl is not actually needed, [info exists ::tcl::mac::locale] is only going to be true on that platform anyway, so just checking this suffices, i.e. transforming if {$::tcl_platform(os) eq "Darwin" && $::tcl_platform(platform) eq "unix" && [info exists ::tcl::mac::locale] && $::tcl::mac::locale ne ""} { into if {[info exists ::tcl::mac::locale] && $::tcl::mac::locale ne ""} { will behave in an equivalent fashion and will succeed in a safe interp. - login: "das"
- mimetype: "text/plain"
- username: "das"
Ticket change [8c9b71f207] (rid 127767) by dkf on 2009-12-16 16:32:20:
- icomment:
Applied DAS's suggested change to 8.5 and 8.6.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [c6e1883f1e] (rid 121847) by dkf on 2009-12-16 16:32:21:
- assignee changed to: "dkf"
- closedate changed to: "2009-12-16T09:32:21"
- closer changed to: "dkf"
- icomment:
allow_comments - 1
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"