Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ef33166b6cf7b8e6661a1a6b68b27df4a67b6fda
Ticket: 1178805fffffffffffffffffffffffffffffffff
empty lists cause nasty surprises
User & Date: msofer on 2005-04-07 19:41:28
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    [Patch 1158008] causes segfaults for extensions that
    expect that a call to Tcl_ListObj* functions shimmers
    the object to tclListType, as it will fail to meet that
    assumption for zero-length lists. Notable example is
    Tile [Bug 1177266].
    
    Even though this is IMO a bug in the extension and not
    in Tcl, the cost of fixing that and avoiding the grief
    is relatively small: do make it a tclListObjType, and
    let FreeListInternalRep() do the right thing with it -
    ie, nothing.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "14. List Object"
  10. title changed to: "empty lists cause nasty surprises"
  11. type changed to: "Bug"