Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c62580bac7f9cba806bd2826f005819e00033de9770f802626edaf334fbc0172
Ticket: a5a99f0aef0a6923c4a3ef4c744527a0ed328901
lsearch returns different results depending on order of -bisect and -exact arguments
User & Date: pooryorick on 2021-12-30 14:12:29
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    In the following example, swapping <code>-bisect</code> and <code>-exact</code>
    causes <code>lsearch</code> to behave differently:
    
    <code><verbatim>
    % lsearch -bisect -exact -stride 2 -index 0 {one two} three
    -1
    % lsearch -exact -bisect -stride 2 -index 0 {one two} three
    0
    </verbatim></code>
    
  5. is_private changed to: "0"
  6. login: "pooryorick"
  7. priority changed to: "5 Medium"
  8. resolution changed to: "None"
  9. severity changed to: "Important"
  10. status changed to: "Open"
  11. submitter changed to: "pooryorick"
  12. subsystem changed to: "17. Commands I-L"
  13. title changed to:
    lsearch returns different results depending on order of -bisect and -exact arguments
    
  14. type changed to: "Bug"