Skip to content
Tcl Source Code History Of Ticket d15847d7b61a0686
Login

History Of Ticket d15847d7b61a0686

Artifacts Associated With Ticket d15847d7b61a0686

  1. Ticket change [12825e8983] (rid 185281) by pooryorick on 2020-08-01 07:59:22:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      The output of the following script is <code>127 0 128</code> when it should be
      <code>0 127 128</code>:
      
      <code><verbatim>
      set list [list \x80 \x7f \x00]
      set sorted {}
      foreach item [lsort $list] {
      	scan $item %c ord
      	lappend sorted $ord
      }
      puts $sorted
      </verbatim></code>
      
      
      Furthermore, with the <code>-dictionary</code> argument, the output is <code>0
      127 128</code>, as expected:
      
      
      <code><verbatim>
      set list [list \x80 \x7f \x00]
      set sorted {}
      foreach item [lsort -dictionary $list] {
      	scan $item %c ord
      	lappend sorted $ord
      }
      puts $sorted
      </verbatim></code>
      
    5. foundin initialized to: "core-8-6-branch"
    6. is_private initialized to: "0"
    7. login: "pooryorick"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "pooryorick"
    13. subsystem initialized to: "17. Commands I-L"
    14. title initialized to: "lsort and the null character"
    15. type initialized to: "Bug"
  2. Ticket change [c2903f4055] (rid 185475) by pooryorick on 2020-08-11 14:05:02:

    1. closedate changed to: "2459073.08683412"
    2. closer changed to: "pooryorick"
    3. icomment: "Duplicate of [8e1e31eac0fd6b6c]."
    4. login: "pooryorick"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"