This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: MMap offset parameter failing with ENOMEM error
On Fri, Sep 20, 2002 at 09:38:06AM +1000, Shane Mann wrote:
> Perhaps the wrong error is being returned for this case - I would have
> thought the following error code would be more appropriate:
>
> [ENXIO]
> Addresses in the range [off,off+len) are invalid for the object specified by
> fildes.
The appropriate error code is EOVERFLOW. I've checked that in.
> Any ideas?
I've checked in a fix. The evaluation of the length to map (in 64k chunks)
was incorrect.
Thanks for the error report,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/