Larry Jones wrote:
Derek Robert Price writes:
  
I assume you're checking:

  
Hmmm.. I have not tested it, but I suppose !feof(bc->fp) might work on
some platforms.
      

If so, it most definitely is *not* equivalent and does not work on any
platform.  feof() doesn't return true unless some actual I/O routine has
already encountered EOF, which won't ever have happened in normal
operation.  The call to getc() is an actual I/O that tests for EOF now.
  

Can you suggest an alternative to get around the blocking problem?

Derek
-- 
                *8^)

Email: [EMAIL PROTECTED]

Get CVS support at http://ximbiot.com
-- 
f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng

Reply via email to