Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4d6108abb714314b4568aca28ad36fe6a0022da3
Ticket: 829027ffffffffffffffffffffffffffffffffff
lrepeat segfaults for big lists
User & Date: dkf on 2003-11-01 06:13:41
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    [lrepeat] really ought to soft-fail when insufficient memory
    is available, but doing that is tricky because you have to
    tell the list constructor that it now has ownership of an
    array, instead of the current technique which is a copy. 
    OTOH, there is definitely still utility in allocating such
    arrays since you can use [lset] to manipulate them safely.
    
    Sounds like a new (internal) function: TclNewListObjDirect()
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"