Re: man2hlp fails on SunOS 5.8
- From: Pavel Roskin <proski gnu org>
- To: "Andrew V. Samoilov" <kai cmail ru>
- Cc: mc-devel gnome org
- Subject: Re: man2hlp fails on SunOS 5.8
- Date: Fri, 16 Aug 2002 12:53:58 -0400 (EDT)
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]