Skip to content
Tcl Source Code History Of Ticket 3c26dec71e
Login

History Of Ticket 3c26dec71e

Artifacts Associated With Ticket 3c26dec71e

  1. Ticket change [1af941f4d5] (rid 220403) by juliannoble2 on 2023-11-18 20:03:25:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      There is a minor behaviour change between previous versions 9 & 8.x  compared to 90b1rc relating to extra semicolons in the TCLX_y_TM_PATH.  (tested only on windows)
      If the user has specified c:/path;   previous interps added an empty string to the tcl::tm::list - which doesn't seem to have provided any utility - but didn't seem to break anything.
      In  90b1rc - the extra entry causes the first package load in any interp to fail with an error:
      
        % package require platform
         is ancestor of existing module path //zipfs:/lib/tcl/tcl9/site-tcl.
        % set ::errorInfo
         is ancestor of existing module path //zipfs:/lib/tcl/tcl9/site-tcl.
            while executing
        "path add $expanded_path"
            (procedure "::tcl::tm::Defaults" line 22)
            invoked from within
        "::tcl::tm::Defaults"
            (file "//zipfs:/lib/tcl/tcl_library/tm.tcl" line 383)
            invoked from within
        "::source -nopkg //zipfs:/lib/tcl/tcl_library/tm.tcl"
            ("uplevel" body line 1)
            invoked from within
        "uplevel 1 [list ::source -nopkg $filename]"
            (procedure "::tcl::Pkg::source" line 5)
            invoked from within
        "::tcl::Pkg::source //zipfs:/lib/tcl/tcl_library/tm.tcl"
            (in namespace eval "::" script line 1)
            invoked from within
        "namespace eval :: $auto_index($name)"
            (procedure "auto_load" line 13)
            invoked from within
        "auto_load $name [uplevel 1 {::namespace current}]"
            (autoloading "::tcl::tm::UnknownHandler")
            (procedure "::unknown" line 22)
            invoked from within
        "::tcl::tm::UnknownHandler ::tclPkgUnknown platform 0-"
            ("package unknown" script)
            invoked from within
        "package require platform"
      
      This more strict behaviour may well be reasonable - as a trailing or leading delimiter presumably shouldn't be present. 
      I mention it only as a minor incompatibility that may cause confusion or hidden issues if the first package load is wrapped in a catch, so perhaps it's merely worth a note regarding upgrading to 9.0
      
      As alternative possibility - I believe at least some linux distributions use an extra delimiter to represent the intention to add CWD to a list of paths specified.  We already have that capability with path;.  so I don't know if Tcl should interpret extraneous semicolons in some explicitly specified manner or if an error is the right behaviour in this instance anyway.
      
    5. foundin initialized to: "90b1rc"
    6. is_private initialized to: "0"
    7. login: "juliannoble2"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "957fdfcd8744611e3fe1f4896c7538b1d9bf47b2"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "juliannoble2"
    14. subsystem initialized to: "39. Package Manager"
    15. title initialized to:
      TCLX_y_TM_PATH - unspecified behaviour - change with 90b1rc
      
    16. type initialized to: "Bug"
  2. Ticket change [79dfd87bab] (rid 225543) by apnadkarni on 2024-05-04 15:03:18:

    1. icomment:
      I'm inclined to say all empty elements should be discarded. This includes the trailing ";" case but also the case of consecutive ";" elements.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  3. Ticket change [8648d97213] (rid 225554) by jan.nijtmans on 2024-05-04 18:55:32:

    1. icomment: "Possible solution [a966eb9902fd586c|here]"
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [79ab7c7719] (rid 225555) by apnadkarni on 2024-05-05 04:52:25:

    1. icomment:
      The behaviour (ignoring all empty) and fix seems reasonable to me.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  5. Ticket change [011af9748e] (rid 225563) by jan.nijtmans on 2024-05-05 20:54:07:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2460436.37091705"
    3. closer changed to: "jan.nijtmans"
    4. icomment: "Fixed [ba61f74630229cdf|here]"
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"