#if defined(MSDOS) || defined(unix)
for (;;)
{
int nRead;
nRead = read (d->descriptor, d->inbuf + iStart,
sizeof (d->inbuf) - 10 - iStart);
if (nRead > 0)
{
iStart += nRead;
if (d->inbuf[iStart - 1] == '\n' || d->inbuf[iStart - 1] == '\r')
break;
}
else if (nRead == 0)
{
log_string ("EOF encountered on read.");
return FALSE;
}
else if (errno == EWOULDBLOCK)
break;
else
{
perror ("Read_from_descriptor");
return FALSE;
}
}
#endif
Sun May 10 21:40:18 2009 :: EOF encountered on read.
Sun May 10 21:40:18 2009 :: EOF encountered on read.
Sun May 10 21:40:18 2009 :: EOF encountered on read.
What does this mean and how do I fix it?