Skip to content
Tcl Source Code History Of Ticket 1996158
Login

History Of Ticket 1996158

Artifacts Associated With Ticket 1996158

  1. Ticket change [27e685f6fd] (rid 88604) by nobody on 2008-06-17 14:15:33:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      The tcl module implementation encourages to
      use environment variables like TCL8.5_TM_PATH.
      
      Unfortunately, the naming of variable names in
      the "bourne again shell" (bash) is limited to
      alpahnumeric characters, including '_'.
      
      Attempts to assign values to a variable with
      a name containing a dot-character, as requested
      by the "tcl module" functionality, fails if the
      assignment is done by a shell command, like
      
        export TCL8.5_TM_PATH=/home/xx/my_modules
      
      I consider this a severe bug for all those who
      are going to prefer the "tcl module" approach when
      looking up for packages.
      
      Proposal:
      ---------
      
      Use '_' instead of '.', i.e. say TCL8_5_TM_PATH
      instead of TCL8.5_TM_MODULE.
      
      Possibly that needs only a change of one line in
      file tm.tcl and some editing of the documentation.
      
      
      
      
    4. foundin initialized to: "obsolete: 8.5.2"
    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: "nobody"
    10. subsystem initialized to: "08. Environment Variables"
    11. title initialized to: "bad naming of ..TM_PATH variables"
    12. type initialized to: "Bug"
  2. Ticket change [b8eca0a805] (rid 129044) by andreas_kupries on 2008-06-17 23:04:36:

    1. assignee changed to: "andreas_kupries"
    2. closedate changed to: "2008-06-17T16:04:36"
    3. closer changed to: "andreas_kupries"
    4. icomment:
      Logged In: YES 
      user_id=75003
      Originator: NO
      
      This looks very much a duplicate of [1914604], i.e. http://sourceforge.net/tracker/index.php?func=detail&aid=1914604&group_id=10894&atid=110894
      Which has been accepted already and was committed to Tcl 8.5 on Mar 18, 2008.
      The code accepts both forms of the variables, i.e. TCL8.5_TM_PATH, and TCL8_5_TM_PATH, etc.
      The documentation doesn't seem to be up to date however, agreed.
      Closing nevertheless, any changes to the documentation will be tracked in the original report, see above for the reference.
      
      
      
    5. login: "andreas_kupries"
    6. mimetype: "text/plain"
    7. resolution changed to: "Duplicate"
    8. status changed to: "Closed"
    9. subsystem changed to: "39. Package Manager"
    10. username: "andreas_kupries"