Skip to content
Tcl Source Code History Of Ticket 930851ffffffffff
Login

History Of Ticket 930851ffffffffff

Artifacts Associated With Ticket 930851ffffffffff

  1. Ticket change [5a135730d2] (rid 118080) by dgp on 2004-04-07 05:01:14:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Annotated interactive tclsh session:
      
      % set f [open ../generic/tclVar.c r]
      file3
      
                 open a file I know aku has.
      
      % fconfigure $f
      -blocking 1 -buffering full -buffersize 4096 -encoding
      iso8859-1 -eofchar {} -translation auto
      % fconfigure $f -eofchar =
      
                 set eof char to something unusual
      
      % read $f; tell $f
      834
      
                  read to "EOF"  -- the first eof char
      
      % fconfigure $f -eofchar {}
      
                  Change back to no eof char
      
      % read $f 1
      =
      
                   See, we read up to that =
      
                   Now lets read the rest of the file:
      
      % read $f; tell $f
      4096
      
                   What's this?  It looks like only one
                   buffer got filled, and then it quit.
      
      % seek $f 0 start
      % read $f; tell $f
      147065
      
                    A [seek] to the beginning of the file
                    restores normal [read] to EOF.
      
      Bug, undocumented feature, or pilot error?
      
      
    4. foundin initialized to: "obsolete: 8.5a2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "25. Channel System"
    10. title initialized to: "eofchar change: strange buffer limit ?"
    11. type initialized to: "Bug"
  2. Ticket change [7c34e1ea63] (rid 97038) by dgp on 2004-04-07 23:11:41:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Perhaps there's some internal
      flag that needs to be reset when
      the -eofchar changes?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [c7a5bfda80] (rid 121965) by andreas_kupries on 2004-04-24 05:56:30:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Chat log
      
      aku - From the description it looks like a bug where
      internal flags of the channel are not properly changed when
      changing the eofchar. Most likely something like stick_eof
      
      dgp - aku, it appears that any [seek] at all, even [seek $f
      0 current] will workaround the problem
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  4. Ticket change [2b48332e1e] (rid 118714) by andreas_kupries on 2004-04-24 06:42:59:

    1. closedate changed to: "2004-04-23T23:42:59"
    2. closer changed to: "andreas_kupries"
    3. icomment:
      Logged In: YES 
      user_id=75003
      
      Yes, the seek zaps a number of flags which should be zapped
      when changing the eofchars as well. Added testcases, added
      fix. Testsuite is ok with fix. New testcase fails before
      fix, and is ok after. Committed to both 8.4 and head.
      
      
      
    4. login: "andreas_kupries"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "andreas_kupries"