Overview
| Artifact ID: | 52a0faef885ec0e127e669db21de1788e74c939b |
|---|---|
| Ticket: | a38779bd41ef87dc6eaf13fc20d8a29966fd3937
Tcl8,6 'read' doesn't notice a growing file |
| User & Date: | anonymous on 2016-07-07 10:26:20 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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. - foundin changed to: "Tcl 8.6.2, 8.6.3"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "14683b2e3fb45b2f30f2b420d1f9a75ff9a82c32"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "25. Channel System"
- title changed to: "Tcl8,6 'read' doesn't notice a growing file"
- type changed to: "Bug"