[Ecls-list] Patch: fix mmap() in _ecl_alloc_env()

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Jan 27 15:03:00 UTC 2009


On Sat, Jan 24, 2009 at 10:03 PM, Josh Elsasser <josh at elsasser.org> wrote:
> When mapping anonymous memory, the file descriptor argument should be
> -1, not 0. On my system at least, passing 0 causes mmap to fail. The
> check for mmap failure also did not work for me.

Hi Josh, thanks for all the fixes. I am downloading them right now and
will commit them ASAP. In particular I have the impression that the
change regarding mmap() will solve some problems with the *BSD ports.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28009 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list