X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 24 Oct 2011 11:20:34 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: (CVS) SH_USER_SHAREDplus allocation Message-ID: <20111024092034.GR2976@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <32703126 DOT post AT talk DOT nabble DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <32703126.post@talk.nabble.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Oct 22 14:35, jan.kolar wrote: > > http://cygwin.com/ml/cygwin-cvs/2011-q2/msg00196.html > introduced reordering of SH_- related memory blocks and the following change > > | - unsigned size = offsets[i + 1] - offsets[i]; > | + unsigned size = offsets[i] - offsets[i + 1]; > | offsets[i] += delta; > | if (!VirtualAlloc (off_addr (i), size, MEM_RESERVE, PAGE_NOACCESS)) > > However, address range is to be allocated using its LOWER boundary > which is now offsets[i + 1]. Fixed in CVS. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple