Don Lewis said:
> On Aug 21,  2:10am, Wes Peters wrote:
> } Subject: mmap mapped segment length
> } I discovered to my dismay today that the length field in the mmap call is
> } a size_t, not an off_t.  I was attempting to process a large (~50 MByte) 
> file
> } and found I was only processing the first 4 MBytes of it.
> 
> 50 MB should comfortably fit in a size_t.
> 
It seems that 4MB and 4GB are being confused :-).

John


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to