Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c6d94fcba9f9d79e140f5c088ad6b9c1ad948433
Ticket: bc5b790099f7f89ba5f213bbf7bc92a22414f063
read hangs on utf-8 channel
User & Date: jcr on 2014-10-01 18:55:27
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    The following script hangs at the final read.
    
    # ----
    set data {gi4uIMKn4oCCLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4u4oCCLi4gwqfigIIK}
    
    set f [file tempfile]
    chan configure $f -encoding binary
    puts -nonewline $f [binary decode base64 $data]
    flush $f
    seek $f 0
    chan configure $f -encoding utf-8
    puts stderr "about to read"
    set newdata [read $f 130]
    puts stderr [string length $newdata]
    # ----
    
  5. foundin changed to: "8.6.2 - 956d1be41ba7e5229efdbe931b8f92945cb11b26"
  6. is_private changed to: "0"
  7. login: "jcr"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "ab5c04693d4ea3b3339a1e41947ceb8da8054625"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "jcr"
  14. subsystem changed to: "25. Channel System"
  15. title changed to: "read hangs on utf-8 channel"
  16. type changed to: "Bug"