Overview
| Artifact ID: | f25c39dd9079b1fbc373a58dac32368d67c9c7ff |
|---|---|
| Ticket: | 218308ffffffffffffffffffffffffffffffffff
source on a fifo works only every other time |
| User & Date: | nobody on 2000-10-26 00:55:58 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3688 Bug Version: 8.0.3 SubmitDate: '1999-11-24' LastModified: '2000-04-26' Severity: CRIT Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Linux-Red Hat Machine: Pentium Pro FixedDate: '2000-10-25' ClosedDate: '2000-04-26' Name: Jørgen Steensgaard ReproducibleScript: jsm 1941> cat demo #!/usr/bin/tclsh set src [lindex $argv 0] puts stderr "I will read from $src" source $src puts stderr " ... that's it" jsm 1942> cat tktest1 puts {Testing one} jsm 1943> (cat tktest1 >> tkfifo) | demo tkfifo I will read from tkfifo ... that's it jsm 1944> ( cat tktest1 >> tkfifo ) | demo tkfifo I will read from tkfifo Testing one ... that's it ObservedBehavior: The above session shows 1. a program that will display the bad behaviour. 2. the contents of a file to be sourced through a fifo 3. a call of the program with no reaction on the source 4. the same call with the expected reaction Going on leads to an alternation between erroneous and correct behaviour. DesiredBehavior: I would expect to see the correct behaviour every time. The user likely has a different unix shell with different default behavior, because for me you can't >>tkfifo without having tkfifo exist first. So I did: vitoria [~/tmp/3688] 13 % cat >! tkfifo vitoria [~/tmp/3688] 14 % ( cat tktest1 >> tkfifo ) | demo tkfifo I will read from tkfifo Testing one ... that's it vitoria [~/tmp/3688] 15 % ( cat tktest1 >> tkfifo ) | demo tkfifo I will read from tkfifo Testing one Testing one ... that's it Creating the empty tkfifo first, and all seems to work. This is on RedHat with tcsh and tcl8.0.4. -- 04/26/2000 hobbs - foundin changed to: "obsolete: 8.0.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "60. NRE and coroutines"
- title changed to: "source on a fifo works only every other time"
- type changed to: "Bug"