Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 576b9676211f5c77f012a9167841bc2bfb3c6431
Ticket: 1366195fffffffffffffffffffffffffffffffff
Use TCL_DSTRING_STATIC_SIZE rather than assume size
User & Date: afredd on 2006-04-04 00:20:15
Changes

  1. icomment:
    Logged In: YES 
    user_id=1386588
    
    dgp:
    >The patch I'd rather have is changes to Tcl so it
    >stops making assumptions about how large the value is.
    
    The patch fixes the only case i can find of the core
    assuming a certain size for TCL_DSTRING_STATIC_SIZE.
    
    Or do you mean that, for example, a core compiled with
    TDSS==300, should support an extension compiled with
    TDSS==100? ie. DStringInit would need to pass in its
    static buffer buffer size which would probably be needed
    to be stored in the DString struct.
    Sounds like it would break a lot of binary interfaces...
    and not for a lot of gain. (So probably this isn't what
    you meant ;-)
    
    
    
  2. login: "afredd"
  3. mimetype: "text/plain"
  4. username: "afredd"