Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d65e5134223e9f40d618c4cd80f1567915580a2b
Ticket: 2458202fffffffffffffffffffffffffffffffff
Reflected channel crash on exit
User & Date: andreas_kupries on 2008-12-23 02:28:08
Changes

  1. icomment:
    Now looking at the channel implementation.
    - initialize looks ok, although the [list ...] could be made a literal.
    - finalize look ok
    - seek is ok. I was confuised first, thinking that it was not handling mode 'start', it does, just very implicit in the coding.
    - read looks ok, although I am not seeing how it handles reading beyond end of the channel. The 'pos' doesn't seem to be constrained after the read is done, i.e. for a string of 10 chars I can force to 20, or whatever I like.
    - write also seems to mismanage pos when we are beyond the end of the string. It appends, yes, but it also simply increments after, so if the pos was 20 for a 10-char string, we append 5, the new pos will be 25 for a 15-char string.
    
    - watch ... See the examples I posted (here on SF) ... Ok, adding them here again.
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"