bug fix
This commit is contained in:
parent
f6885af31f
commit
2840140786
@ -6,7 +6,9 @@ FILE *iop;
|
|||||||
{
|
{
|
||||||
int count, c1;
|
int count, c1;
|
||||||
|
|
||||||
if ( io_testflag(iop,IO_UNBUFF) || !io_testflag(iop,IO_WRITEMODE) )
|
if (!iop->_buf ||
|
||||||
|
io_testflag(iop,IO_UNBUFF) ||
|
||||||
|
!io_testflag(iop,IO_WRITEMODE) )
|
||||||
return(0);
|
return(0);
|
||||||
|
|
||||||
count = BUFSIZ - iop->_count;
|
count = BUFSIZ - iop->_count;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user