[PATCH] Cygwin: shmat: use mmap allocator strategy on 64 bit

Ken Brown kbrown@cornell.edu
Thu Aug 8 16:06:00 GMT 2019

On 8/8/2019 4:55 AM, corinna-cygwin@cygwin.com wrote:
> From: Corinna Vinschen <corinna-cygwin@cygwin.com>
> This avoids collisions of shmat maps with Windows own datastructures
> when allocating top-down.
> This patch moves the mmap_allocator class definition into its
> own files and just uses it from mmap and shmat.

This makes sense to me, and it fixes the hexchat fork problem.  Thanks!


P.S. I got a whitespace warning from git when I applied the patch.  There's a 
blank line at the end of mmap_alloc.cc.

More information about the Cygwin-patches mailing list