Skip to content
Tcl Source Code History Of Ticket ba921a8d98e02a96
Login

History Of Ticket ba921a8d98e02a96

Artifacts Associated With Ticket ba921a8d98e02a96

  1. Ticket change [df672682d1] (rid 164672) by pooryorick on 2018-07-22 20:35:20:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      The result of the following script is the empty string:
      
      <code><verbatim>
      proc main {} {
          set data [binary format a* hello]
          puts $data
          puts $data[set data {}]
      }
      
      main
      </verbatim></code>
      
    5. foundin initialized to: "core-8-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: "- New Builtin Commands"
    14. title initialized to:
      concatenating binary array with empty string yields the empty string
      
    15. type initialized to: "Bug"
  2. Ticket change [0f28248863] (rid 164677) by pooryorick on 2018-07-22 20:46:33:

    1. icomment: "Fixed in [f274e1f1baf02516]."
    2. login: "pooryorick"
    3. mimetype: "text/x-fossil-wiki"
  3. Ticket change [b8ade3a8de] (rid 164692) by dgp on 2018-07-25 19:27:40:

    1. icomment:
      
      Fix isn't right yet:
      
      % proc demo {} {
          set data [binary format a* hello]
          return [encoding convertto $data]$data
      }
      % demo
      hellolr
      %
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  4. Ticket change [889ec81176] (rid 164693) by anonymous on 2018-07-25 21:34:47:

    1. icomment:
      Just for the records, a variant of the original snippet without [puts]:
      
      <code><verbatim>
      proc main {} {
          set data [binary format a* hello]
          return [expr {$data}][set data {}]
      }
      main
      </verbatim></code>
      
    2. login: "anonymous"
    3. mimetype: "text/html"
  5. Ticket change [5c13b2113b] (rid 164708) by dgp on 2018-07-26 16:18:17:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2458326.17936691"
    3. closer changed to: "dgp"
    4. icomment:
      
      Test and fix committed.
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. severity changed to: "Important"
    9. status changed to: "Closed"
    10. subsystem changed to: "10. Objects"