Re: man2hlp fails on SunOS 5.8



Hello!

> errno and ferror is not set. I rewrite this piece of code with
> read and even make circle with fgetc, but it does not cure.
> It looks like eof, but it is not true.

The fix is in CVS.  Some operating systems think it's Ok to return from
fwrite() before everything is written if the block is too large (see e.g.
sources of cvs, look for LARGEST_FWRITE).  Just in case, I wrote a similar
wrapper for fread().

Please make sure it works for you.

-- 
Regards,
Pavel Roskin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]