Skip to content
Tcl Source Code History Of Ticket 1574099
Login

History Of Ticket 1574099

Artifacts Associated With Ticket 1574099

  1. Ticket change [c1bc81cc82] (rid 111372) by msofer on 2006-10-09 22:26:43:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Ever since Tcl8.0, the documentation of Tcl_UpVar says
      about the flags: "Either TCL_GLOBAL_ONLY or 0; if
      non-zero, then destName is a global variable; otherwise
      it is a local to the current procedure (or global if no
      procedure is active)."
      
      Code comments, the procedure TestupvarCmd() and var-3.4
      however say that TCL_NAMESPACE_ONLY is also accepted.
      
      A codesearch in google shows no users of any flag value
      other than 0 and TCL_GLOBAL_ONLY.
      
      Either the docs or the code requiring changing so that
      they agree. A priori, I would change the docs: even if
      unused, the ns-only flag value could be useful. OTOH,
      this is a *POTENTIAL INCOMPAT* - for anybody who would
      be relying on
         flags!=0   <=>  flags==TCL_GLOBAL_ONLY
      
      Opinion?
       
      
      
    4. foundin initialized to: "obsolete: 8.5a4"
    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: "msofer"
    10. subsystem initialized to: "07. Variables"
    11. title initialized to: "Tcl_UpVar(2)? and behaviour contrary to the docs"
    12. type initialized to: "Bug"
  2. Ticket change [a8b692a2d8] (rid 99041) by dkf on 2006-10-10 05:46:43:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      If the implementation has been that way for ages, might as
      well document it.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [611df2906c] (rid 92193) by msofer on 2006-10-10 06:40:16:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Agreed - no real incompatibility, anybody relying on the
      docs would have found it already.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. status changed to: "Closed"
    5. username: "msofer"
  4. Ticket change [83855821f8] (rid 117393) by msofer on 2006-10-10 06:40:17:

    1. assignee changed to: "msofer"
    2. closedate changed to: "2006-10-09T23:40:17"
    3. closer changed to: "msofer"
    4. resolution changed to: "Fixed"
  5. Ticket change [69eda1403b] (rid 128059) by dgp on 2006-10-10 20:07:45:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Looks like a doc update that
      was overlooked at the Tcl 7 -> 8
      transition.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"