Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 23 Feb 2001 10:49:39 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Possible bug and solution for shmget with a FIXED attribute Message-ID: <20010223104939.I908@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gene_spleen@hotmail.com on Thu, Feb 22, 2001 at 10:13:31PM -0500 On Thu, Feb 22, 2001 at 10:13:31PM -0500, Gene Spleen wrote: > In mmap.cc, the function fhandler_disk_file::mmap has as its first > paramater addr, the requested address for a memory attachment. Actually, > this is the ADDRESS of the value for the memory location requested for this > attachment. See this, the call to MapViewOfFileEx looks like it should > change it's addr parameter to *addr. Thoughts? I don't know if that helps in your case but it's definitly an oversight in the code. I have checked in a patch. Thanks for the hint, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple