Skip to content
Tcl Source Code History Of Ticket a38779bd41ef87dc
Login

History Of Ticket a38779bd41ef87dc

Artifacts Associated With Ticket a38779bd41ef87dc

  1. Ticket change [52a0faef88] (rid 147582) by anonymous on 2016-07-07 10:26:20:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Hello *.
      
      When I am reading continuously growing file
       with Tcl8.5 it's working as expected -
       Tcl 'read' command returns all the data which were added to the file
         after last 'read'
      But Tcl 8.6 calls system read just once in spite of file has been grown
        and a new Tcl command 'read' issued.
      
      I made on Linux (Debian 8.5)  growing file with:
      me:~$ while : ; do date >>nnn; sleep 1; done
      
      Tcl script:
      set f [open "nnn" r]
      while {1} {
          puts -nonewline [read $f]
      }
      
      on Tcl8.6 it prints only the data on the first 'read'
        ('strace' shows that wasn't any further attempt to call system 'read')
      on Tcl8.5 it prints all new data continuously.
      
      Am I missing something basic ?
      
      With regards,
         Andrey
      
      PS: I could find another suitable mail list publicly available to write.
      
    5. foundin initialized to: "Tcl 8.6.2, 8.6.3"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "14683b2e3fb45b2f30f2b420d1f9a75ff9a82c32"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "25. Channel System"
    15. title initialized to: "Tcl8,6 'read' doesn't notice a growing file"
    16. type initialized to: "Bug"
  2. Ticket change [ed6549b6bf] (rid 147594) by dgp on 2016-07-07 20:19:15:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2457577.34670809"
    3. closer changed to: "dgp"
    4. icomment:
      
      Dup of
      
      http://core.tcl.tk/tcl/tktview?name=08872796bc
      
      Long fixed and released in Tcl 8.6.4 and 8.6.5.
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Duplicate"
    8. status changed to: "Closed"