Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e896c2e86ce7f9bf1a3cdc7a38545a0ba171ed0e9d2bf657095449a02d046bc4
Ticket: 57daa91eafa92706d3d8028e673a282f439b8dc3
Tcl_GetIntForIndex handling of n-m (m > n)
User & Date: jan.nijtmans on 2024-06-06 07:59:27
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    <pre>
    % testgetintforindex -1 -1
    -2147483648
    % testgetintforindex 2-3 -1
    -1
    </pre>
    
    If the end parameter is -1, then INT_MIN is a special value to be used for "-1". This is not handled correctly for the n-m construct. Both commands above should give the same answer.
    
    This is the root cause for ticket [https://core.tcl-lang.org/tk/tktview/450a726f4a|450a726f4a] in Tk
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "jan.nijtmans"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "jan.nijtmans"
  14. subsystem changed to: "13. Index Object"
  15. title changed to: "Tcl_GetIntForIndex handling of n-m (m > n)"
  16. type changed to: "Bug"