This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (CVS) SH_USER_SHAREDplus allocation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]