Skip to content
Tcl Source Code History Of Ticket 1444291fffffffff
Login

History Of Ticket 1444291fffffffff

Artifacts Associated With Ticket 1444291fffffffff

  1. Ticket change [76f1496e16] (rid 105681) by dgp on 2006-03-06 17:29:07:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Here's a test case illustrating
      a problem with handling of
      TCL_EVAL_INVOKE flag value in
      TclEvalObjvInternal:
      
      test parse-8.12 {Tcl_EvalObjv procedure, TCL_EVAL_INVOKE} {
          set ::auto_index(noSuchCommand) {
              proc noSuchCommand {} {lappend ::info global}
          }
          set ::auto_index(::[string trimleft [namespace
      current]::test_ns_1::noSuchCo
      mmand :]) [list \
              proc [namespace
      current]::test_ns_1::noSuchCommand {} {
                  lappend ::info ns
              }]
          catch {rename ::noSuchCommand {}}
          set ::slave [interp create]
          $::slave alias bar noSuchCommand
          set ::info {}
          namespace eval test_ns_1 {
              $::slave eval bar
          }
          namespace delete test_ns_1
          interp delete $::slave
          catch {rename ::noSuchCommand {}}
          set ::info
      } global
      
      
      The [::unknown] command is called when
      Tcl cannot resolve a command name.  The
      default ::unknown proc defined in init.tcl
      attempts to [auto_load] a command so
      that the unresolved command name will resolve
      in future attempts.  While performing thi
      task, the ::unknown proc assumes that the
      resolution context is given by:
      
          [uplevel 1 {::namespace current}]
      
      When the command name being resolved
      is getting eval'd because it is the
      target of an interp alias, this assumption
      is not true.  TCL_EVAL_INVOKE forces
      resolution in ::, but swaps back to
      caller context before ::unknown is called.
      
      As the test demos, this can cause the wrong
      command to be auto-loaded, and evaled.
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.4.12"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "45. Parsing and Eval"
    10. title initialized to: "[::unknown] and alias targets (TCL_EVAL_INVOKE)"
    11. type initialized to: "Bug"
  2. Ticket change [99c4df07f1] (rid 110848) by dgp on 2006-03-07 01:08:26:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Attached patch fixes
      core-8-4-branch, while
      simplifying TEOvI at
      the same time.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [2aae6670a8] (rid 118620) by dgp on 2006-03-07 01:08:27:

    1. icomment:
      
      
      File Added - 169950: 1444291.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Add attachment "1444291.patch" [91e664171e] (rid 120695) by dgp on 2006-03-07 04:39:28.

  5. Ticket change [b9222725ea] (rid 129084) by dgp on 2006-03-07 04:39:28:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      revised patch
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [47c78408a0] (rid 99762) by dgp on 2006-03-07 04:39:30:

    1. icomment:
      
      
      File Deleted - 169950: 
      
      
      
      File Added - 169982: 1444291.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [a9ba6d446d] (rid 99195) by dgp on 2006-03-07 04:48:14:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      corresponding patch for HEAD
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Add attachment "1444291-85.patch" [23756fcc38] (rid 130938) by dgp on 2006-03-07 04:48:14.

  9. Ticket change [704b781ea9] (rid 100448) by dgp on 2006-03-07 04:48:17:

    1. icomment:
      
      
      File Added - 169984: 1444291-85.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [16c7e2e43d] (rid 124768) by dgp on 2006-03-07 04:57:22:

    1. closedate changed to: "2006-03-06T21:57:22"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      patches committed.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dgp"