man2hlp fails on SunOS 5.8

Andrew V. Samoilov kai at cmail.ru
Fri Aug 16 14:46:37 UTC 2002


Hello!

fread fails to read large option of data here:

     if (fread (Topics, 1, file_end, fout) != file_end) { 

         perror (output); 

         return 1; 

     } 


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.







More information about the mc-devel mailing list