[net.unix-wizards] System V stdio bug fix

gwyn@brl-vld@sri-unix.UUCP (08/25/83)

From:      Doug Gwyn (VLD/VMB) <gwyn@brl-vld>

The new, nifty stdio still has the same bug in findiop.c:
The lines reading
	for(iop = _iob; iop->_flag & (_IOREAD | _IOWRT | _IORW); iop++)
		if(iop >= _lastbuf)
should be changed to read
	for(iop = _iob; iop->_flag & (_IOREAD | _IOWRT | _IORW); )
		if(++iop >= _lastbuf)
in order to avoid a "boundary condition" bug.