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 Date: Tue, 24 Sep 2002 16:20:52 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: MMap offset parameter failing with ENOMEM error Message-ID: <20020924162052.P29920@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20020919093239 DOT H29920 AT cygbert DOT vinschen DOT de> <000801c26035$9af84410$8e90a8c0 AT citr DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000801c26035$9af84410$8e90a8c0@citr.com.au> User-Agent: Mutt/1.3.22.1i 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/