Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4016ec39a6aac8a84d8222ddfdc09c6594c976ba
Ticket: 218675ffffffffffffffffffffffffffffffffff
lreplace inconsistent with man page
User & Date: nobody on 2000-10-26 01:04:00
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1705 Bug
    Version: 8.0p2
    SubmitDate: '1999-04-05'
    LastModified: '2000-01-21'
    Severity: LOW
    Status: Released
    Submitter: pat
    ChangedBy: ericm
    RelatedBugIDs: 2005
    OS: All
    Machine: Other
    FixedDate: '2000-01-21'
    FixedInVersion: 8.3
    ClosedDate: '2000-10-25'
    
    
    Name:
    Mark Patton
    
    Comments:
    This seems to be a problem with empty lists.
        With a non-empty list the script fails as expected
        when given an out of bound index.
    
    ReproducibleScript:
    lreplace {} 0 0
    
    ObservedBehavior:
    The script doesn't fail like it should. The man page indicates
        that element 0 must exist for the command to work.
    
    DesiredBehavior:
    The script should fail complaining about element 0
        not being present.
    
    
    
    The doc's were incorrect; this is the desired behavior.  I corrected the information on the man page for 8.3.
    
    - eric
    
    -- 01/21/2000 ericm
    
    
    
  4. foundin changed to: "obsolete: 8.0p2"
  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: "46. Traces"
  10. title changed to: "lreplace inconsistent with man page"
  11. type changed to: "Bug"