Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3a679273e40a7bf52d8a29cae0e4355b7703ccde184315330353b4c57a9ebebb
Ticket: 9899c273abcb1830ec7d217f577765b1db336f83
Tcl_InitStringRep design issues
User & Date: jan.nijtmans on 2025-05-02 09:53:40
Changes

  1. closer changed to: "nobody"
  2. icomment:
    It looks like this 'redesign' is only partially done.
    
    Yes, Tcl_InitStringRep can now handle allocation failures by returning NULL, but many callers of this function don't check for the NULL value. In other words: Tcl_InitStringRep() behaves like Tcl_AttemptInitStringRep(). This is OK, but callers should translate this NULL to either a panic or a proper error-handling.
    
    I'll have a look.
    
  3. login: "jan.nijtmans"
  4. mimetype: "text/x-fossil-wiki"
  5. status changed to: "Open"