Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a25ffedd1965998d14ed5f3d144ec2148248542afe7e71ba43c29f2fc7684963
Ticket: 27944a3661a5e409dead945dbc8f9e4a50033e62
Taming test utf-6.88
User & Date: jan.nijtmans on 2020-04-23 19:24:08
Changes

  1. icomment:
    I'm veeeeery sorry, but I believe that changing Tcl_UfToUniChar() to Tcl_UtfNext() in random places in the source-code is too dangerous. A regression in Tcl_NumUtfChars() is already discovered, I found 3 more places where such a change was done. Since we know that Tcl_UtfNext() doesn't work the same as Tcl_UtfToUniChar(), we know it's not the same when handling invalid byte sequences. The Tcl test suite doesn't have enough test-cases to find such places. So, such a change can only done after preparing a proper test-case, showing that the change is harmless.
    
    I recommend to undo the same changes in Tcl 8.5 too.
    
    Again, Sorry!
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"