read() cant read files larger than 2.1 gig on a 64 bit system
Thorfinn Sand
thorfinn.sand at gmail.com
Sat Dec 26 20:20:02 GMT 2009
Thanks for your reply very helpful
I'll go the fread way then.
I don't see anywhere in the documentation, that 'read' is limited to
int or ISTR, i think this might need clarification in the
documentation
Thanks again
this has been bugging me for several days
On Sat, Dec 26, 2009 at 10:43 AM, Kees Cook <kees at ubuntu.com> wrote:
> On Sat, Dec 26, 2009 at 01:28:06AM -0800, Kees Cook wrote:
>> if ((fd = fopen(infile,"r")) < 0)
>
> Sorry was typing too fast. Above should be:
> if (!(fd = fopen(infile,"r")))
>
> --
> Kees Cook
> Ubuntu Security Team
>
--
/satan
More information about the ubuntu-devel
mailing list