Skip to content
Tcl Source Code History Of Ticket 2913616
Login

History Of Ticket 2913616

Artifacts Associated With Ticket 2913616

  1. Ticket change [2a782c466f] (rid 118579) by john13a on 2009-12-13 10:52:10:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "john13a"
    10. subsystem initialized to: "30. msgcat Package"
    11. title initialized to: "msgcat does not work with Safe Base"
    12. type initialized to: "Bug"
  2. Ticket change [d53fb074fd] (rid 123589) by dgp on 2009-12-14 21:35:20:

    1. priority changed to: "9 Immediate"
  3. Ticket change [51a53d70d6] (rid 126165) by dgp on 2009-12-15 05:07:21:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [03efa83ce6] (rid 119909) by dgp on 2009-12-15 05:07:22:

    1. assignee changed to: "das"
    2. priority changed to: "5 Medium"
  5. Ticket change [ae0b0df3ff] (rid 101564) by das on 2009-12-15 06:41:54:

    1. assignee changed to: "dgp"
    2. 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.
      
      
    3. login: "das"
    4. mimetype: "text/plain"
    5. username: "das"
  6. Ticket change [8c9b71f207] (rid 127767) by dkf on 2009-12-16 16:32:20:

    1. icomment:
      Applied DAS's suggested change to 8.5 and 8.6.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  7. Ticket change [c6e1883f1e] (rid 121847) by dkf on 2009-12-16 16:32:21:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2009-12-16T09:32:21"
    3. closer changed to: "dkf"
    4. icomment:
      
      
      allow_comments - 1
      
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dkf"