Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4303d6151602d8d27eded766b953a69595918529
Ticket: 218016ffffffffffffffffffffffffffffffffff
Request for Tcl_DStringRewind()
User & Date: nobody on 2000-10-26 00:52:13
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1049 RFE
    Version: 8.1a2
    SubmitDate: '1999-01-15'
    LastModified: '1999-11-02'
    Severity: LOW
    Status: Closed
    Submitter: pat
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: 2.6
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-11-02'
    
    
    Name:
    Jordan Hayes
    
    DesiredBehavior:
    I often find it useful to use a Tcl_DString and, after potentially
    growing it after adding many strings to it, reusing it without
    going through the overhead of Tcl_DStringFree().  The idiom I use
    is just to set dStr.string[0] to '\0' and dStr.length to 0.  I think
    it might be useful to have either a real API to do this, or even just
    a macro.
    
    Patch:
    generic/tclUtil.c is where it would go, I suppose.
    
    
    
    
    There is a Tcl_DStringSetLength which essentially does this. 
    -- 11/02/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.1a2"
  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: "69. Other"
  10. title changed to: "Request for Tcl_DStringRewind()"
  11. type changed to: "RFE"