Re: Parrot_readbc and fread

2008-03-14 Thread Bob Rogers
From: chromatic <[EMAIL PROTECTED]> Date: Fri, 14 Mar 2008 16:06:32 -0700 My manpage suggests that fread returns size_t, and that's part of C89 and POSIX.1-2000, so go ahead and apply. -- c Thanks; done as r26370. -- Bob

Re: Parrot_readbc and fread

2008-03-14 Thread chromatic
On Friday 14 March 2008 15:57:44 Bob Rogers wrote: >Parrot_readbc declares read_result as INTVAL, but assigns to it the > result of fread, which (on my system) is declared to return a size_t. > But later there is a check for a negative result, which makes no sense. > Are there systems on which