Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 85eca8c0fc7bb37fee31ce6d4ecba40ec9853b6a
Ticket: 1547786fffffffffffffffffffffffffffffffff
parseExpr-21.41 fails
User & Date: das on 2006-08-28 10:04:31
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    On Darwin, test parseExpr-21.41 fails with current HEAD due to an 
    apparent utf-8 bug in the call to TclFormatToErrorInfo() in Tcl_ParseExpr
    ():
    scratch.string is truncated to limit-3 without regard to multi-byte utf-8 
    sequences, the 'Â' character in the error message below corresponds to 
    the first byte of a 0xc2a7 sequence:
    
    ==== parseExpr-21.41 error messages FAILED
    ==== Contents of test case:
    
        catch {expr [format {"%s" @ 0} [string repeat \u00a7 25]]} m o
        dict get $o -errorinfo
    
    ---- Result was:
    invalid character "@"
    in expression "...§§§§§§§§§§" @ 0"
        (parsing expression ""§§§§§§§§§§Â...")
        invoked from within
    "expr [format {"%s" @ 0} [string repeat \u00a7 25]]"
    ---- Result should have been (exact matching):
    invalid character "@"
    in expression "...§§§§§§§§§§" @ 0"
        (parsing expression ""§§§§§§§§§§...")
        invoked from within
    "expr [format {"%s" @ 0} [string repeat \u00a7 25]]"
    ==== parseExpr-21.41 FAILED
    
    
  4. foundin changed to: "obsolete: 8.5a4"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "das"
  10. subsystem changed to: "45. Parsing and Eval"
  11. title changed to: "parseExpr-21.41 fails"
  12. type changed to: "Bug"