Artifact
f25c39dd9079b1fbc373a58dac32368d67c9c7ff:
Ticket change
[f25c39dd90]
- New ticket
[218308ffffffffff|218308ffff] <i>source on a fifo works only every other time</i>.
by
nobody on
2000-10-26 00:55:58.
D 2000-10-26T00:55:58
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3688\sBug\nVersion:\s8.0.3\nSubmitDate:\s'1999-11-24'\nLastModified:\s'2000-04-26'\nSeverity:\sCRIT\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sLinux-Red\sHat\nMachine:\sPentium\sPro\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-04-26'\n\n\nName:\sJørgen\sSteensgaard\n\nReproducibleScript:\njsm\s1941>\scat\sdemo\n#!/usr/bin/tclsh\n\nset\ssrc\s[lindex\s$argv\s0]\n\nputs\sstderr\s"I\swill\sread\sfrom\s$src"\n\nsource\s$src\n\nputs\sstderr\s"\s...\sthat's\sit"\njsm\s1942>\scat\stktest1\nputs\s{Testing\sone}\njsm\s1943>\s(cat\stktest1\s>>\stkfifo)\s|\sdemo\stkfifo\nI\swill\sread\sfrom\stkfifo\n\s...\sthat's\sit\njsm\s1944>\s(\scat\stktest1\s>>\stkfifo\s)\s|\sdemo\stkfifo\nI\swill\sread\sfrom\stkfifo\nTesting\sone\n\s...\sthat's\sit\n\nObservedBehavior:\nThe\sabove\ssession\sshows\n\n1.\s\sa\sprogram\sthat\swill\sdisplay\sthe\sbad\sbehaviour.\s\s\n2.\s\sthe\scontents\sof\sa\sfile\sto\sbe\ssourced\sthrough\sa\sfifo\n3.\s\sa\scall\sof\sthe\sprogram\swith\sno\sreaction\son\sthe\ssource\n4.\s\sthe\ssame\scall\swith\sthe\sexpected\sreaction\n\nGoing\son\sleads\sto\san\salternation\sbetween\serroneous\sand\scorrect\sbehaviour.\n\nDesiredBehavior:\nI\swould\sexpect\sto\ssee\sthe\scorrect\sbehaviour\severy\stime.\n\n\n\nThe\suser\slikely\shas\sa\sdifferent\sunix\sshell\swith\sdifferent\sdefault\nbehavior,\sbecause\sfor\sme\syou\scan't\s>>tkfifo\swithout\shaving\stkfifo\nexist\sfirst.\s\sSo\sI\sdid:\n\nvitoria\s[~/tmp/3688]\s13\s%\scat\s>!\stkfifo\nvitoria\s[~/tmp/3688]\s14\s%\s(\scat\stktest1\s>>\stkfifo\s)\s|\sdemo\stkfifo\nI\swill\sread\sfrom\stkfifo\nTesting\sone\n\s...\sthat's\sit\nvitoria\s[~/tmp/3688]\s15\s%\s(\scat\stktest1\s>>\stkfifo\s)\s|\sdemo\stkfifo\nI\swill\sread\sfrom\stkfifo\nTesting\sone\nTesting\sone\n\s...\sthat's\sit\n\nCreating\sthe\sempty\stkfifo\sfirst,\sand\sall\sseems\sto\swork.\s\sThis\sis\non\sRedHat\swith\stcsh\sand\stcl8.0.4.\s\n--\s04/26/2000\shobbs
J foundin obsolete:\s8.0.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 60.\sNRE\sand\scoroutines
J title source\son\sa\sfifo\sworks\sonly\severy\sother\stime
J type Bug
K 218308ffffffffffffffffffffffffffffffffff
U nobody
Z 6a3683a6845c857edf9ab204f6e16e85