Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7799c88385faa33b09ada0c0cbdfe68c4ec63324
Ticket: cafef7c5856ec8b1cbc0ea13c6c41d96d9982d75
Unexplained code in StringRplcCmd function (tclCmdMZ.c)
User & Date: aku on 2015-02-18 18:49:14
Changes

  1. icomment:
    Thanks for the explanation.
    
    I have to admit, I do not see where it could shimmer in this block of code.
    
    Ah! Promptly I manage to see, actually.
    
    If the arguments 1 and (2 or 3) point to the same Tcl_Obj, then the intervening GetIntForIndexM() calls can shimmer the ustring away from us. Right.
    
    Ok.
    
    I agree, this should have test cases.
    Possibly some comments in the code as well.
    I agree with the tweaks as well.
    
    Dropped severity.
    Tweaked ticket description.
    
  2. login: "aku"
  3. mimetype: "text/plain"
  4. severity changed to: "Cosmetic"
  5. title changed to:
    Unexplained code in StringRplcCmd function (tclCmdMZ.c)