Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3adb30e4ca095ec085c66c88a7f4bd0404ca476e
Ticket: 219142ffffffffffffffffffffffffffffffffff
bug in bgerror: should use Tcl_GetCommandInfo
User & Date: nobody on 2000-10-26 05:02:16
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 750 Bug
    Version: 8.0.3
    SubmitDate: '1998-10-22'
    LastModified: '2000-01-23'
    Severity: MED
    Status: Assigned
    Submitter: admin
    ChangedBy: hobbs
    RelatedBugIDs: 3998 2577 2136
    OS: All
    FixedDate: '2000-10-25'
    FixedInVersion: NA
    ClosedDate: '2000-10-25'
    
    
    Name: Paul Duffin
    
    Tcl_BackgroundError evaluates bgerror in the global context. If that
    returns an error then it generates the message. To determine whether
    bgerror is a valid command it compares the interp result with a
    particular string and if it matches then bgerror is not defined, else
    bgerror generated an error. In the first case it just writes out what
    the original error was, in the second case it writes out both the
    original error and the new error (as above).  Unfortunately the string
    it tests against is not
    
    invalid command name "bgerror"
    but
    "bgerror" is an invalid command name or ambiguous abbreviation
    
    which I presume used to be the error returned when a command did not
    exist but the error has changed.
    
    It should really use Tcl_GetCommandInfo or something similar to check
    whether bgerror is defined.
    
    tclEvent.c:HandleBgErrors is where the problem is, but this has
    other problems that need resolving (see related reports) at the same time. 
    -- 01/23/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.0.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "bug in bgerror: should use Tcl_GetCommandInfo"
  11. type changed to: "Bug"