This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: MMap offset parameter failing with ENOMEM error
- From: "Shane Mann" <shane dot mann at leadup dot com dot au>
- To: <cygwin at cygwin dot com>
- Date: Wed, 25 Sep 2002 10:29:14 +1000
- Subject: RE: MMap offset parameter failing with ENOMEM error
- Reply-to: <shane dot mann at leadup dot com dot au>
Sorry - I didn't mean to sound impatient, just wasn't sure if it was a
problem or not. Thanks for the response, keep up the good work - it is
appreciated.
Cheers,
Shane
Shane Mann
Software Engineer Phone: +61-7-3259-2223
LeadUp Software Pty Ltd Fax: +61-7-3259-2259
339 Coronation Drive, Email: shane.mann@leadup.com.au
Milton, QLD, 4064 Web: http://www.leadup.com.au
> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Corinna Vinschen
> Sent: Wednesday, 25 September 2002 0:21
> To: cygwin@cygwin.com
> Subject: 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/
>
--
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/