Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Shane Mann" To: Subject: RE: MMap offset parameter failing with ENOMEM error Date: Wed, 25 Sep 2002 10:29:14 +1000 Message-ID: <001c01c2642a$938bec60$8e90a8c0@citr.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <20020924162052.P29920@cygbert.vinschen.de> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-MailScanner: Found to be clean 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 DOT mann AT leadup DOT com DOT au Milton, QLD, 4064 Web: http://www.leadup.com.au > -----Original Message----- > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf > Of Corinna Vinschen > Sent: Wednesday, 25 September 2002 0:21 > To: cygwin AT cygwin DOT 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 AT cygwin DOT 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/