Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: bfc7fc72a96bb3c49a26fdc07c85c763eab827c1
Ticket: 47d66253c92197d30bff280b02e0a9e62f07cee2
"lsearch -sorted -integer" on 64bit system
User & Date: anonymous 2014-01-16 04:20:42
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    On 64bit system, the following code returns an unexpected result.
    
    
    (On Linux 32bit machine)
    % lsearch -sorted -integer [lsort -integer {0 2147483648}] 2147483648
    0
    => the value was found
    
    
    (On Linux 64bit machine)
    % lsearch -sorted -integer [lsort -integer {0 2147483648}] 2147483648
    -1
    => the value was not found
    
  5. foundin changed to: "8.4.20, 8.5.15, 8.6.1"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "anonymous"
  13. subsystem changed to: "17. Commands I-L"
  14. title changed to: ""lsearch -sorted -integer" on 64bit system"
  15. type changed to: "Bug"