Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 84beaeb6bdc3186397212b8c7c4eb2cd0ea1e478
Ticket: 218608ffffffffffffffffffffffffffffffffff
string first fails if character>0x80
User & Date: nobody on 2000-10-26 01:03:02
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1434 Bug
    Version: 8.0.4
    SubmitDate: '1999-03-04'
    LastModified: '1999-08-07'
    Severity: MED
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    OS: Macintosh
    OSVersion: 8.0.4
    Machine: Power PC
    FixedDate: '1999-08-07'
    FixedInVersion: 8.1
    ClosedDate: '2000-10-25'
    
    
    Name:
    Steven Ryan
    
    Extensions:
    none
    
    CustomShell:
    none
    
    ReproducibleScript:
    #e' = opt-e + e on Macintosh
    
    string first e' e'
    
    
    
    ObservedBehavior:
    returns -1
    
    
    
    DesiredBehavior:
    returns 0
    
    
    
    
    
    In tclCmdMZ.c, Tcl_StringObjCmd, case STR_FIRST,
    
    p = memchr(p, *string, (unsigned)(end-p));
    
    should instead be something like
    
    p = memchr(p, ((unsigned char*)string)[0], (unsigned)(end-p));
    
    --
    This problem was fixed with the Unicode 8.1+. 
    -- 08/07/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0.4"
  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: "string first fails if character>0x80"
  11. type changed to: "Bug"