Xref: utzoo comp.unix.wizards:20754 comp.bugs.sys5:1231 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!mips!prls!pyramid!ctnews!mitisft!dold From: dold@mitisft.Convergent.COM (Clarence Dold) Newsgroups: comp.unix.wizards,comp.bugs.sys5 Subject: Re: stdio broken in SysV? Message-ID: <1408@mitisft.Convergent.COM> Date: 24 Feb 90 17:22:48 GMT References: <2010@sauron.Columbia.NCR.COM> Organization: Convergent Technologies, San Jose, CA Lines: 16 in article <2010@sauron.Columbia.NCR.COM>, wescott@micky.columbia.ncr.com (Mike Wescott) says: > BTW the "implicit assumption" mentioned above is due to the fact that > the array _bufendtab[] is indexed by fp->_file rather than by fp-_iob > or built into the FILE structure itself. This same _bufentab[] problem causes an array of difficulties if the system NFILE is higher than NOFILES for stdio. If there is a mix of open(2) and fopen(3), streams can use a pointer off the end of the array, into some unknown data space. Might work, might not... -- --- Clarence A Dold - dold@tsmiti.Convergent.COM (408) 435-5293 ...pyramid!ctnews!tsmiti!dold FAX (408) 435-3105 P.O.Box 6685, San Jose, CA 95150-6685 MS#10-007