Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b0a333a635dc8582cf20a9b244c0d04534a17c15c1e44d6fa3a49a46d5355114
Ticket: bb69c8d17eae8c32dda57bd6de721753122c7b5f
Compiled string last fails on large strings
User & Date: apnadkarni on 2023-05-02 07:43:54
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    string last fails on large strings when the script is compiled but not direct evaluation.
    
    ```
    % set string string
    string
    % string last 0 $s
    2147483640 -> wrong
    % $string last 0 $s
    4294967300 -> correct
    ```
    
    Clearly an `int` use somewhere instead of Tcl_Size.
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to: "Compiled string last fails on large strings"
  16. type changed to: "Bug"