.
D 2010-03-25T14:49:03
J assignee nobody
J cmimetype text/plain
J comment The\sfunction\sTtyInit()\sin\sunix/tclUnixChan.c\shas\sthe\sfollowing\scode\sfragment:\n\n#ifdef\sUSE_SGTTY\n\s\s\s\s\s\s\s\sif\s((iostate.sg_flags\s&\s(EVENP\s|\sODDP))\s||\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s!(iostate.sg_flags\s&\sRAW))\s{\n\s\s\s\s\s\s\s\s\s\s\s\sttyPtr->stateUpdated\s=\s1;\n\s\s\s\s\s\s\s\s}\n\s\s\s\s\s\s\s\siostate.sg_flags\s&=\sEVENP\s|\sODDP;\n\s\s\s\s\s\s\s\sSET_BITS(iostate.sg_flags,\sRAW);\n#endif\s\s/*\sUSE_SGTTY\s*/\n\n\nHowever,\sttyPtr\spoints\sto\sa\sTtyState,\swhich\sdoes\snot\shave\sa\sstateUpdated\sfield.\sFrom\sthe\scontext\sit\slooks\sfar\smore\slikely\sthat\sthis\sshould\ssimply\sbe:\n\nif(\s...\s){\n\s\s\s\sstateUpdated\s=\s1;\n}
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter reeuwijk
J subsystem None
J title Bogus\sfield\sreference\sin\sTtyInit()\sin\sunix/tclUnixChan.c
J type Bug
K 2976509fffffffffffffffffffffffffffffffff
U reeuwijk
Z 98d964c0fef1c1c44a19025b19dcfe07