Hello!
On Sun, Apr 26, 2009 at 11:37:27AM -0700, Roland McGrath wrote:
> mremap cannot be defined correctly in terms of mmap and munmap.
Not the complete interface, for sure. And even for the specific bit I
mentioned I'm not sure it would be possible at all (thinking about
preserving MAP_* and P
mremap cannot be defined correctly in terms of mmap and munmap.
It is not in the common GNU API/ABI, only in Linux.
The malloc code is full of HAVE_REMAP conditionals.
Just fix whatever the new case is to properly conditionalize its use.
Thanks,
Roland